View Single Post
  #4  
Old 6th June 2006, 08:24
graveman graveman is offline
Junior Member
 
Join Date: Jun 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem...

also having a little bit of trouble getting this point to work.

Quote:
Then edit /etc/hosts. Make it look like this:

vi /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Now run

hostname
hostname -f

Both should show server1.example.com. If they do not, reboot the system:

shutdown -r now

Afterwards, run

hostname
hostname -f

again. Now they should show server1.example.com.
but they don't show the same???