How to Set Up Private Nameservers in WHM
WHM Tutorials
How to Set Up Private Nameservers in WHM?
Private nameservers let you use ns1.yourdomain.com and ns2.yourdomain.com instead of SKPHost nameservers. This is an essential step for white-labeling your hosting business.
Step 1: Register Child Nameservers at Your Domain Registrar
- Login to the registrar where your domain is registered.
- Find Child Nameservers, Host Records, or Nameserver Registration.
- Create:
ns1.yourdomain.comโ Your server's IP addressns2.yourdomain.comโ Same or secondary server IP
- Save and wait for propagation (may take a few hours).
Step 2: Configure Nameservers in WHM
- Login to WHM.
- Go to Server Configuration โ Basic WebHost Manager Setup.
- Scroll to the Nameservers section.
- Enter:
- Primary Nameserver:
ns1.yourdomain.com - Secondary Nameserver:
ns2.yourdomain.com
- Primary Nameserver:
- Click Save.
Step 3: Add Nameserver A Records in WHM DNS
- Go to WHM โ DNS Functions โ Edit DNS Zone.
- Select your own domain.
- Add A records for ns1 and ns2 pointing to your server IP:
ns1 A your.server.ip ns2 A your.server.ip
- Click Save.
Once done, tell your clients to set their domain nameservers to ns1.yourdomain.com and ns2.yourdomain.com at their registrar.
If you continue to face issues, please open a create a request.
