So, you just screwed up the name of your Ubuntu server?
Well that can be changed in no time and with no downtime
Just follow the ermm following;
- Set a new hostname
sudo hostname your.brand.new.host.name
- Edit the /etc/hosts file
sudo vi /etc/hosts
- Edit the /etc/hostname file
In some circumstances, you may also have to change the /etc/resolv.conf file.
Simple, yes! But worth 90 seconds to write out ;P