Private Name Servers - Setup
Step 1 of 3 of setting up private name servers,
Private name servers would be ns1.yourdomain.com and ns2.yourdomain.com, instead of name servers with a HostGator domain. Follow the steps below to set up private name servers for your domain.
Step 1: Locate Your Private Name Server and Their IPs
For private name servers, it is vital to have both the name servers and their corresponding IP addresses. The welcome email that you received after purchasing hosting from jnhosting will contain both the IP and the private name servers that will need to be registered.
If you have shared web hosting (Hosting Plan Mini, Hosting Plan Biz, Hosting Plan Pro), this means you cannot use private name servers.
If you have a Reseller, VPS, or Dedicated plan, you should have those IP's listed in your welcome email. If not, simply contact Jnhosting so we can provide you with the correct IP's.
Setting A Records for Private Nameservers
Through its involvement in the management of the root DNS servers on the net, Verisign has pushed out a change so that if private nameservers are set at a registrar, then the DNS server must have a matching A record or the site will not resolve. The way around this is to simply add an A record to the DNS zone for each nameserver.
Note: This should only concern anyone using private nameservers. Hosting Plan Mini, Hosting Plan Biz and Hosting Plan Pro owners should not worry about this since they cannot use private nameservers.
Creating the A Records for Private Nameservers
To create A records for private name servers, follow the instructions below:
1.Log into WHM.
2.Navigate to the DNS Functions section.
3.Click on the Edit DNS Zone option.
4.Select the primary domain that is listed in your HostGator welcome email.
5.Click the Edit button and wait for the page to load.
6.Check your New Account Info email for the correct nameserver IPs. This is exactly the information you need for the record name and address.
Below is an example of how the private nameservers and their corresponding IPs will appear in your welcome email: ◦ns1.resellerdomain.com (220.127.116.11)
7. you will be able to see the DNS zone file. Scroll down to the section marked Add New Entries Below this Line.
8.In the first blank, type ns1.
9.Skip the box with 14400, and go to the drop-down box.
10.In the drop-down box, select A. A new box will appear.
11.Erase the IP or hostname within the box.
12.Type in the IP address for the NS1 private nameserver listed in your welcome email.
13.In the second blank, type ns2.
14.Skip the box with 14400, and go to the drop-down box.
15.In the drop-down box, select A. A new box will appear.
16.Erase the IP or hostname within the box.
17.Type in the IP address for the NS2 private nameserver listed in your welcome email.
18.Scroll all the way down to the bottom of the page and click the Save button
Private Name Servers
2. NS A Records
3. DNS Glue
Step 3 of 3 of setting up private nameservers,
Make sure your SOA and NS Records are Correct
This article is all about fixing your glue, by which we mean checking the SOA and NS records in your domain's DNS zone, and making sure they match the nameservers being used at your registrar exactly.
The SOA (Start of Authority) and NS (Nameserver) records tell the internet that your private nameservers are authoritative and contain the most up-to-date information about your DNS settings. If these are not set correctly, some DNS servers will not trust your private nameservers. Other DNS servers may get confused because there is a mismatch between what the registrar says and what your nameservers say. This typically results in some people being able to reach your domain, while others cannot. So it is always a good idea to double-check these settings.
Note: Hatchling, Baby, Personal and Business plans cannot use private nameservers, so there is no need to worry about the glue on those plans.
Fixing the Glue
Depending on your hosting plan, the instructions for how to make the proper changes for your DNS Glue will vary. Please refer to the proper section below with instructions for your specific control panel.
cPanel + WHM
The following steps will walk you through how to change the NS records when using private nameservers with WHM and cPanel.
1.Log in to WHM.
2.Under the DNS Functions section, click Edit DNS Zone.
3.Select your domain name from the list and click the Edit button.
4.In the SOA field, replace the nameserver with your primary private nameserver (ns1... - be sure to include the trailing dot).
5.In the NS field, replace each nameserver with your private nameservers (ns1 and ns2, - be sure to include each trailing dot).
6.Scroll down and click the Save button.
Be sure this is done for every domain name you host.
Plesk 10 and 11
The following steps will show you how to change the NS records when using private nameservers with Plesk version 10 or higher.
1.Log in to Plesk.
2.Go to the desired domain's control panel (if not already there).
3.Click on the Websites & Domains tab.
4.Click the DNS Settings link.
5.Next to the domain, click the Manage link.
Here you can edit the existing NS records or add a new NS record if needed.
The following steps will show you how to change the NS records when using private nameservers with Plesk version 9.
1.Log in to Plesk as the admin user.
2.From Home, click the DNS Settings link.
Here you can edit the existing NS records, or add a new NS record if needed.