Nameserver help

Status
Not open for further replies.

Jayar

Active Member
629
2009
15
40
Hey guys.
Recently i bought a dedicated server at worldstream
They gave me 3 ips... Lets say there these (made them up):
111.111.111
111.111.112
111.111.113
i already added 111.111.111 as a A Record and everything for my main site.
Right now I don't think I have the name servers set up right...
Can someone give me a ttutorial how to setup nameservers through name.com and WHM
 
6 comments
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 - WJunction

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
 
yes you can patt and Danny if you was smart you would have realized i quit A-H about 9 months ago and gave full control server and ownership to another member


pico is used for the starters vi is good to
 
Status
Not open for further replies.
Back
Top