In order to be able to use conical names you have to use name servers (also called DNS servers) which will convert some name into IP address. I will here show you where are configuration files under Linux
Edit /etc/resolv.conf which can like this:
Also you might hardcode some IP's in hosts file. It looks like this:
127.0.0.1 localhost.localdomain localhost
To have your new settings valid you have to restart the computer or do this in command line which will restart all your network services and devices:
If you are connected with SSH be patient connection will be restored.