Pages
Categories
- Linux VPS Hosting
- Private Nameservers
- Reliable VPS hosting service
- Virtual Dedicated server
- Virtual Private Server hosting
- VPN
- VPS
- VPS hosting
- Windows VPS Hosting
Archives
Meta
First step to setup a Private Nameserver for your Virtual Private Server is to decide what nameservers you want to set on your Virtual Private Server hosting account. If you have the domain as “mydomain.com” then it is possible for you to make the nameservers ns1.domain.com and ns2.domain.com.
After you are done with this task then Second step is to Open http://IP/whm then go to IP Functions >> show IP address usage & Check free IP over there or choose your primary and secondary IP Address.
First a Registrar will be required to register the nameservers. Then you can ask them to register a private nameserver for your domain or you can do this yourself by simply logging into the control panel of your registrar’s domain name and register the domain name for your domain yourself.
-ns1.domain.com - the Default IP Of your server
-ns2.domain.com - Secondary IP or free IP
Exception:- If you want to use ns3.domain.com and ns4.domain.com for this server as you have only one domain and you have already set that name server for your other server then you will have to set the dns for it from the dns zone file of domain.com if you have WHM then you can go to the server where this domain is resolving then open WHM >> Edit a DNS zone >> select domain from the list >> Edit at the end just add this line
ns3 In A First_IP
ns4 In A Second_IP
If shell is what you are using then you can simply put following lines there in
# vi /var/named/domain.com.db
ns3 IN A First_IP
ns4 IN A Second_IP
save file.
# service named reload
# rndc reload domain.com
Now, the Third step is : http://IP/whm >> Basic cPanel/WHM Setup
Scroll down to Primary Nameserver ns1.domain.com & Click on “Assign IP address” and then “Add an A entry for this name server”
Similarly for Secondary Nameserver ns2.domain.com Click on “Assign IP address ” and then “Add an A entry for this name server”
Now, the forth and the last step,
check if your nameservers have started resolving or not from
http://www.dnsstuff.com/tools/lookup.ch?name=ns1.domain.com&type=A
Once you see the assigned IP address there then it means that the name server for your server are set.
Create new account from your WHM and now you will just need to point your site from your registrar end to these nameservers ns1.domain.com and ns2.domain.com if you want to resolve your site from this server.
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URL

























