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 HostGator will contain both the IP and the private name servers that will need to be registered.
If you have shared web hosting (Hatchling, Baby, Business), 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 HostGator so we can provide you with the correct IP's.
Step 2: Register Your Name Servers at your Registrar
You will now need to create the private name servers at the registrar with which you registered your domain. Every registrar has a different process for creating private name servers.
Domains Registered with HostGator
HostGator uses two registrars, LaunchPad and HostGator/eNom. If you registered your domain with HostGator, then it will be with one of these two registrars.
Click on the appropriate link below for instructions on how to register private name servers:
- HostGator/eNom (aka Registry Rocket)
If you have a LaunchPad domain, we offer an interactive walkthrough that will point out where to click step by step through the entire process:
If you are not sure which registrar you are with, the following article may help:
You can also contact customer support, and we can check for you.
Domains Registered with Other Registrars
If you purchased your domain from one of the registrars below, click on the registrar name for a step-by-step walkthrough. If your registrar is not listed below, please continue reading.
Look for options along the lines of register DNS, create DNS or add DNS from within your account with your registrar. The only way to create name servers is by using the IP addresses we assigned to your ns1 and ns2.yourdomain.com If there isn't a field asking for the IP, you are not at the right place.
Registering Private Name Servers vs. Changing DNS
Changing your domain's DNS is not the same thing as registering name servers. You will not be able to change your site's DNS to private name servers until your private name servers are registered with your domain registrar. Some registrars don't even have an option for you to create private name servers on your own. In many cases, emailing them to do it is the only option.
If you can't figure out how to register your private name servers with your registrar, read the registrars FAQ, and look for a question along the lines of "How do I register name servers?" If you can't figure it out from either reading the FAQ or navigating through your account with them, you will need to contact your registrar to request further assistance. Your request should look similar to the following:
"I want to create name servers for my domain. They are ns1.insertyourdomainhere.com with the IP of (insert the IP we assign here) and ns2.insertyourdomainhere.com with the IP of (insert the IP we assign here)"
Step 3: Setting NS A Records
After your name servers have been created, you must add the necessary A records to your domain. Once the A record has been updated, you and your clients will be able to use your private name servers for all the domains to be hosted on your account.
For help adding A records to your domain, please see the following article:
Step 4: DNS Glue/Setting SOA and NS Records
Once a domain name is using your private name servers, it is important to check the DNS Glue. The DNS Glue will check the SOA and NS records in your domain's DNS zone, and make sure they match exactly the name servers being used at your registrar.
The SOA (Start of Authority) and NS (Name Server) records tell the internet that your private name servers 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 name servers. Other DNS servers may get confused because there is a mismatch between what the registrar says and what your name servers 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.
For more information on DNS Glue, please refer to the following article: