To assign the host name to your machine open the terminal. Type:
Hit enter. Type your root password. Hit enter. Type "/sbin/ifconfig". Hit enter. This will output the IP address of your machine (the numbers after "inet addr:"). Type:
Hit enter. In gedit edit your /etc/hosts file to include a line containing your IP address, your domain name, and your short domain name (the characters before the dot). Be sure to include a carriage return after this line. When you are finished your hosts file should look something like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
XXX.XXX.XXX.XXX yourdomainname.com yourdomainname
(Subsitute the IP address you got from the ifconfig command for the X's.) Click on the "save" icon in gedit and exit gedit. Type:
Hit enter. In gedit edit your /etc/sysconfig/network file and replace "localhost.localdomain" with your domain name. When you are finished your network file should look something like this:
Click on the "save" icon in gedit and exit gedit. Reboot.