How to set up custom/private nameservers using my domain?

To set up custom nameservers using your domain, you need to complete the following steps:

 

Nameserver IP Addresses


VPS/Quasi/Dedicated Server: You can use any one or two IPs from your VPS or server.

Reseller Hosting: The IP addresses for the nameservers were sent to you in the reseller hosting account information email. You can also view them from the Client Area:

  • Log in to Client Area.

  • Go to Services > My Services > [click on the service (not on the domain)].

  • The nameserver IP addresses are listed in the Hosting Information section.

 

Step 1: Create DNS Records for Ns1 and Ns2


Create the following DNS records on your reseller hosting/VPS/server with us:

 

  • Go to WHM > DNS Zone Manager > Manage (next to yourdomain.com).

    Or, DirectAdmin > Server Manager > DNS Administration > Click yourdomain.com.


  • Click "Add Record" and enter the above DNS records, one record at a time.


    1. Type: A Record
      Name: ns1.yourdomain.com. - Make sure to include the dot at the end
      Value/Record: <IP address for ns1>

    2. Type: A Record
      Name: ns2.yourdomain.com. - Make sure to include the dot at the end
      Value/Record: <IP address for ns2>

      *Replace yourdomain.com with your domain name.


  • Click "Save Record".

  • Repeat the steps to add all the A Records mentioned above.

 

Reseller Hosting:
If yourdomain.com is not hosted on your reseller hosting, you need to add the domain to one of your sub-accounts or create a new sub-account using the domain to create the DNS records.

 

Step 2: Create DNS Records on Old Server/DNS Hosting


If yourdomain.com is currently hosted on a different server or third-party DNS, create the above DNS records on that server or third-party DNS.

Some domain registrars require DNS records to be resolvable in order to register nameservers. The DNS records will not resolve unless you create them on the server the domain resolves to.

This step is not needed if yourdomain.com resolves to the same server where you are setting up custom nameservers.

For example, if you are currently hosting yourdomain.com on our server, and yourdomain.com resolves to our server, and you have created the above DNS records on our server, then this step is not needed. But if yourdomain.com resolves to another server, this step is required.

 

Step 3: Register Glue Records


Some domain registrars may refer to "glue records" as "child nameservers" or "private nameservers".

Log into your domain control panel (not hosting control panel) at your domain registrar and register the glue records using the following details.

 

  • Nameserver 1 Hostname: ns1.yourdomain.com
    Nameserver 1 IP: <IP address for ns1>

  • Nameserver 2 Hostname: ns2.yourdomain.com
    Nameserver 2 IP: <IP address for ns2>

 

Delete Old Glue Records:
Delete any other IP addresses from ns1 and ns2. For example, if you previously created glue records with ns1 and ns2, they might still have old IP addresses. You need to delete these old IP addresses.

 

Step 4: Configure Reseller Hosting/VPS/Server


Set up your reseller hosting/VPS/server to use the custom nameservers:

 

  • Add the custom nameservers:

    cPanel/WHM: Go to WHM > Basic WebHost Manager Setup.

    DirectAdmin: Go to DirectAdmin > Server Manager > Name Servers.


  • Enter the following details:

    Nameserver 1: ns1.yourdomain.com
    Nameserver 2: ns2.yourdomain.com

  • Click "Save Changes".

  • Done! You can now use your custom nameservers.

 

Step 5: Update NS and SOA Records


Your primary domain may still be using NS records using the old nameservers assigned during account creation on the hosting server. It is time to change them to your custom nameservers. You must change them on your reseller hosting/VPS/server with us.

 

5.1: Go to DNS Manager:

  • cPanel/WHM: WHM > DNS Zone Manager > Manage (next to your domain).

  • DirectAdmin: DirectAdmin > Server Manager > DNS Administration.

 

5.2: Create New NS Records:

  • Click "Add Record" and enter the following values:

    Type: NS Record
    Nameyourdomain.com. - Make sure to include the dot at the end
    Value/Recordns1.yourdomain.com


  • Click "Save Record".

  • Repeat the above steps to add ns2.yourdomain.com.

 

5.3: Delete Old NS Records:

  • NS records are marked as "NS" in the "Type" column.

  • Delete all old NS records. Only keep the ones created above.

 

5.4: Modify SOA Record (cPanel/WHM Only):

  • Click "SOA" next to "Filter" below the search bar.

  • Click Edit and change the following value:

    Mname: ns1.yourdomain.com

  • Done!

 

  • 508 Users Found This Useful
Was this answer helpful?

Related Articles

Creating private nameservers at Stargate.com

When creating private nameservers, you will need to register a minimum of two. To register...

Creating private nameservers at Opensrs.net

When creating private nameservers, you will need to register a minimum of two. To register...

Creating private nameservers at Networksolutions.com

When creating private nameservers, you will need to register a minimum of two. To register...

Creating private nameservers at Namecheap.com

When creating private nameservers, you will need to register a minimum of two. To register...

Creating private nameservers at Itsyourdomain.com

When creating private nameservers, you will need to register a minimum of two. To register...