How to Set Up Custom Nameservers in cPanel
Posted about 8 months ago 4.1kWhy Use Custom Nameservers
Branding: ns1.yourdomain.com instead of host nameservers.
Register Child Nameservers
At domain registrar → Register ns1.yourdomain.com and ns2.yourdomain.com with your server IPs.
Setup in WHM
WHM → Basic WebHost Manager Setup → Nameservers → Enter ns1/ns2.yourdomain.com.
DNS Cluster Configuration
Glue Records
Registrar must support glue records for proper resolution.
Test Resolution
Use dig ns yourdomain.com to verify custom nameservers return correct IPs.
Pros & Cons Table
| Aspect | Custom NS | Host NS |
|---|---|---|
| Branding | Professional | Generic |
| Management | Full control | Host managed |
| Setup complexity | High | Easy |
| Reseller appeal | High | Low |