How to change the hostname in Fedora 8
Depending on whether you’re using DHCP or a static IP, you may need to edit one or both of these two files: /etc/hosts and /etc/sysconfig/network. For static IP I edited both files. Once you’ve made the change, you’ll need to restart Fedora.