Posts

Add host-name to linux

How to add an IP to hostname file? Edit file /etc/hosts and add line: <ip_address> <full_qualified_host_name>  <hostalias_name> say example: you are editing hosts file in vim, you can insert following at the bottom of the file 192.197.190.195 trianz_server.trianz.com trianz_serve 192.197.190.195 trianz_server.trianz.com mydummyname