The Create Private Nameservers in cPanel/WHM procedure outlines the steps for users to create private nameservers through cPanel/WHM. cPanel/WHM allows users to set up private nameservers at any time. Private nameservers allow the nameservers associated with a website (www.yourdomain.com) to display the website's nameserver (ns1.yourdomain.com) as opposed to the nameserver associated with the web host for the website (ns1.webhostdomain.com). Adding a private nameserver to a domain also opens up additional options for DNS management within cPanel/WHM. Follow the steps below to create a private nameserver. If issues arise during or after the execution of this procedure, please open a ticket.
Name the Nameserver
- Login to WHM on your server at the following URL: http://xx.xx.xx.xx:2086.
- Select Basic cPanel/WHM Setup from the Server Configuration menu.
- Enter the desired nameserver hostname(s) in one or more of the following fields:
- Primary Nameserver
- Secondary Nameserver
- Tertiary Nameserver
- Quaternary Nameserver
- Click the Save button.
Create a Zone File for the Domain
- Select Add a DNS Zone from the DNS Functions menu.
- Enter the IP address for the domain in the Ip field.
- Enter the domain name in the Domain field.
Note: Alternately, a Domain Account may be created with the Create an Account guide in cPanel's WHM documentation.
Assign an IP to the Nameserver
- Select Nameserver IPs from the Network Setup menu.
- Enter the first nameserver name in the Nameserver field.
- Click the Assign button.
- Repeat the steps above for each nameserver.
Set Up the Nameserver
- Select Nameserver Setup from the Service Configuration menu.
- Click the Proceed button on the pop-up message.