Setting up DNS on cPanel
Setting up DNS on cPanel is essential to manage zone files, create and register domain names and set up domain nameservers.
To Set up DNS on cPanel
- Log in to cPanel by entering root as your user name.
- In the Server Configuration area, click Basic cPanel & WHM Set up.
- From the Primary Nameserver and Secondary Nameserver sections, enter ns1.coolexample.com and ns2.coolexample.com, where coolexample.com is the primary domain for your server.
- Click Add an A entry for this nameserver and then type the IP address of the server.
- Click Save Changes.
- Register two domain hosts for your domain name. If you are not sure how to do this, see Registering Your Own Nameservers/Hosts.
- Create two name servers for your domain hosts. If you are not sure how to do this, see Setting Nameservers for Your Domain Names.
- Select I have specific nameservers for my domains, and then enter the two domain hosts you created.
- Click Save Changes.