hi hosts is located in /etc/ if you are wondering where to get that at you need to logon to ssh


if you do not know how to log onto ssh you can read my tutorial here

Creating SSH Auth keys - KWWHunction

Once in ssh execute this command

Code: 
pico /etc/hosts
you will see somethign like this

Code: 
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost
0.0.0.0            server1.server.org server1 localhost.localdomain
Something like that server.org being your domain name add the following

[/code]
127.0.0.1 localhost
yourip servername.yoursite.com server name localhost.localdomain[/code]


Then
Go to your domain registrar and register ns1.yourdomain.com (0.0.0.0) and ns2.yourdomain.com (0.0.0.0) as nameservers. 0.0.0.0 being the primary nameserver IP from step 1 and 0.0.0.0 being the secondary


Then check to see if the domain name and ip are both correct

Code: 

pico /etc/wwwacct.conf
Code: 
pico /etc/resolv.conf
Code: 
pico /etc/nameserverips