There was a problem loading the comments.

How to Register Private Nameservers at Your Domain Registrar?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Quick answer: Sign in to the company you registered your domain with, find the section called Child Nameservers, Host Names, Personal DNS Server or Register Nameservers, and add ns1.yourdomain.com and ns2.yourdomain.com with your server's IP address. Once registered, set them as the nameservers for any domain you host on your server.

Private nameservers (also called child, custom or vanity nameservers) let you use your own brand, such as ns1.yourdomain.com, instead of a third party's nameservers. You register them only once, at the registrar of the domain they are named after - after that, you can use them for every domain you host on your VPS or dedicated server.


Before You Start


Step 1: Register the Nameservers

Every registrar names this feature differently, but the steps are the same:

  1. Sign in to your registrar's website and open the domain (for example, yourdomain.com).
  2. Find the child nameserver section. Look for Child Nameservers, Host Names, Personal DNS Server, Register Nameservers or Glue Records.
  3. Add the first nameserver: enter ns1 as the host name and your server's IP address.
  4. Add the second nameserver: enter ns2 and the same IP address, or your second IP address if you have one.
  5. Save the changes.

Examples at Popular Registrars

Registrar Where to find it
GoDaddy Domain Portfolio → select the domain → DNS → Hostnames tab → Add Hostname
Namecheap Domain List → Manage → Advanced DNS → Personal DNS Server → Add Nameserver

Cannot find the option? Registrar menus change often, so search your registrar's help pages for "child nameservers", or ask their support team to register the nameservers for you - just give them the host names and IP addresses.


Step 2: Set the Nameservers for Your Domains

Registering the nameservers does not change where your domain points. To use them:

  1. At the registrar, open the Nameservers setting for the domain.
  2. Choose Custom nameservers (the wording varies).
  3. Enter ns1.yourdomain.com and ns2.yourdomain.com and save.

Repeat this for each domain you want to host on your server, including domains registered at other registrars. Important: add each domain on your server before switching it, so its DNS zone already exists - otherwise the domain stops resolving until you add it.


Step 3: Check That It Worked

Registration usually takes effect within a few hours, and nameserver changes can take up to 24-48 hours to propagate worldwide. To check, open Command Prompt or PowerShell on any Windows computer and run:

 

nslookup ns1.yourdomain.com
nslookup -type=ns yourdomain.com

 

The first command should return your server's IP address. The second should list ns1.yourdomain.com and ns2.yourdomain.com. On Linux or macOS, use dig ns1.yourdomain.com and dig ns yourdomain.com instead.


Troubleshooting

Problem What to do
The registrar rejects the nameserver You can only register child nameservers under a domain you own and manage at that registrar. Use the exact domain the nameservers are named after.
"Nameserver not found" when setting a domain's nameservers The child nameservers are not registered yet, or registration has not finished. Complete Step 1 and wait a few hours.
The domain does not resolve after switching Check that the domain has been added on your server and that the DNS Server service is running. If you are unsure, open a support ticket.

Frequently Asked Questions

What is a glue record?

A glue record is the IP address stored at the registry for a child nameserver. Without it, nobody could find ns1.yourdomain.com, because it lives inside the very domain it serves. Registering the nameservers in Step 1 creates the glue records.

Do I need to register the nameservers again for each domain?

No. You register them once, under one domain. Every other domain simply uses them in its nameserver setting (Step 2).

Should I disable DNS recursion on my server?

Yes. A public nameserver should answer only for the domains it hosts. See How to Disable DNS Recursion and Delete Root Hints on Windows Server.

Can SoftSys set up my nameservers for me?

Yes. On a Fully Managed Windows VPS, our engineers can configure your DNS server and private nameservers - just open a ticket.


SoftSys Hosting

Host unlimited domains under your own branded nameservers with a SoftSys VPS. Choose Self-Managed for full control, or Fully Managed to have our team configure and maintain DNS for you.

Self-Managed Windows VPS » Fully Managed Windows VPS »


Share via
Did you find this article useful?  

Related Articles

Tags

© Softsys Hosting