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.
ns1 and ns2. With SolidCP or WebsitePanel, this is created when you add the domain. Without a control panel, see How to Configure Custom Nameservers on Your VPS.Every registrar names this feature differently, but the steps are the same:
yourdomain.com).ns1 as the host name and your server's IP address.ns2 and the same IP address, or your second IP address if you have one.| 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.
Registering the nameservers does not change where your domain points. To use them:
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.
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.
| 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. |
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.
No. You register them once, under one domain. Every other domain simply uses them in its nameserver setting (Step 2).
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.
Yes. On a Fully Managed Windows VPS, our engineers can configure your DNS server and private nameservers - just open a ticket.
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.