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.
