Private nameservers use hostnames under your domain, such as ns1.example.com, to answer DNS queries for hosted domains. Setting them up requires matching server records and registrar registration, not just entering names in WHM.
Prepare the DNS service
Confirm the allocated nameserver addresses with your provider and ensure the DNS service can answer queries on TCP and UDP port 53. Do not invent a second address. Two names on one server do not provide independent resilience.
Configure and register the nameservers
- In WHM, set the approved nameserver hostnames under Basic WebHost Manager Setup.
- Configure their address records using the allocated addresses.
- In the domain’s DNS zone, check that the nameserver A/AAAA records, NS records and SOA primary-server field are consistent. Preserve other website and email records.
- At the registrar, register the child nameserver hosts and their matching glue addresses where required.
- Change a domain’s registrar delegation to those nameservers only after they answer correctly for its complete zone.
- Test the delegation and DNS responses, allowing for existing cache expiry.
Changing WHM defaults does not automatically change every existing domain’s registrar settings. DNS setup does not normally require rebooting the server; investigate the DNS service if it does not answer.
