Setting up custom Nameservers on WHM with a GoDaddy Domain?

May 22, 2018 363 views
DNS Configuration Management CentOS

I just freshly installed Cpanel/WHM into my DO droplet.

I used cpanel.hostapollo.com as the hostname. I own the domain, www.hostapollo.com with GoDaddy.

Firstly, should i keep this domain under GoDaddy management, or transfer it to DO and control the DNS from there?
Secondly, How do i set up custom nameservers within WHM so that when a new account is created, they use my custom nameservers (ns1.hostapollo.com, ns2.hostapollo.com)

My ultimate goal: Install wordpress on hostapollo.com, and WHMCS on billing.hostapollo.com. To accomplish this, would I create a new account for hostapollo.com, then create a subdomain to install WHMCS?

Any assistance would be great, please let me know if my thinking is in the right place

1 Answer

If you plan to be running your DNS from WHM you would not be using DNS services from either GoDaddy or DigitalOcean but would be running your own DNS server(s).

If you are only running a single WHM server you will want to set up a second server with a free DNS only WHM license. cPanel.net can help with this license.

You will need to register your new nameservers on GoDaddy since they are your domain registrar. This is different from setting up a normal DNS record. You will register two nameservers with the names you want which point to your two droplets (WHM and WHM-DNS-Only). You will then want to create NS records for your nameservers inside WHM.

You can find more information on setting the default nameservers for your WHM instance in the official documentation here.

Have another answer? Share your knowledge.