I have Ubuntu Server 8.04. I use to have the hostname oldhostname and url oldhostname.whatever.com. I am changing hosename to newhostname by following the instructions
http://codeghar.wordpress.com/2007/1...ame-in-ubuntu/
So, I changed the hostname in both /etc/hosts and /etc/hostname and restarted /etc/init.d/hostname.sh, but my server still loads the webpage at oldhostname.whatever.com instead of at newhostname.whatever.com. Typing hostname at the prompt yields "newhostname" for the current hostname.
The instructions above use /etc/init.d/network. I only have /etc/init.d/networking. I don't know if there is a difference in the two. I ran that, but nothing changed.
Any suggestions?
Thanks.