to ignore *.swp
rails g controller welcome index
root 'welcome#index'
to print hostname in welcome#index