How To: Set Up Nameservers in cPanel

So you have decided to host your own DNS. What is the best way to go about setting this up?

First you will want to set your nameservers as the default nameservers for new cPanel accounts. Log into WHM and click Server Configuration —> Basic cPanel & WHM Setup. The very bottom of the page lets you set up four nameservers. You will need to set up two at a minimum.

When you click on Assign IP address, it will automatically grab the next available IP address on your server. If the nameserver already has an IP address, it will let you know. Note that using your IP addresses here does not prevent you from hosting one or more sites on those same IP addresses. It is a good idea here to write down the IP address for your nameserver, as you will need it later.

After you have assigned an IP address, make sure to click Add an A entry for this nameserver. A dialog box will pop up asking you to confirm the nameserver’s IP before adding the A entry. Click the Add Entry button, then Close to remove the dialog box.

After you have added at least two nameservers, click the Save Changes button at the bottom of the page in order to keep these changes.

Register Your Nameservers

The next step is to make sure that your nameservers are registered with your domain’s registrar. If you registered your domain through Liquid Web, our Heroic Support team can easily set this up for you. If not, you will have to address this with the domain’s registrar. Some registrars provide you with an interface to set this up, while others will have to do it themselves. In either case, you will need the names of your nameservers and their IP addresses. For example:
ns1.example.com 192.168.123.45
ns2.example.com 192.168.123.46

Make sure the IP addresses match the information in your WHM that you wrote down earlier.

If this step is not done, you will not be able to change any domains over to these nameservers down the road.

At this point, you should be able to start hosting DNS for your domains on your server’s nameservers. If you run into any obstacles, do not hesitate to contact Liquid Web support at one of the methods of contact below.

Be Sociable, Share!
Here's $75, Launch a New VPS Today. Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7 Heroic Support.