Cannot ping ubuntu server by hostname - can only ping by IP
Posted
by Tone
on Server Fault
See other posts from Server Fault
or by Tone
Published on 2010-03-28T04:48:02Z
Indexed on
2010/03/28
5:03 UTC
Read the original article
Hit count: 434
ubuntu-9.10
|hostname
I have an unbuntu 9.10 server and have set the hostname to "fileserver" When I try to ping fileserver from a client machine it doesn't find it, however I can ping by the IP my router assigns it. I have tried changing the ip in /etc/hosts from this:
127.0.0.1 fileserver
to this:
192.168.1.109 fileserver
which is the ip being assigned. I had a previous install of this server and i had no issues with this - only difference in this install is i did not select any of the options such as LAMP, OpenSSH, etc during the install process. I can access the machine fine by ip using PuTTY. Any ideas?
© Server Fault or respective owner