You'll need to perform the following:
- type: hostname <new_hostname>
- edit /etc/sysconfig/network: The hostname entry is read during system bootup, and reset
- edit /etc/hosts: your old hostname should no longer refer to 127.0.0.1, so replace it with your new hostname.
Hope this helps!
Nick