How to configure DNS in WHM & Cpanel Using Digital Ocean Droplet

August 9, 2016 375 views

I want to offer web hosting services, so I decide to deploy a droplet in Digital Ocean and installed WHM & Cpanel to a CentOs 7. I was successful and can be able to host a website.

The problem is that every time I need to host a website I have to add the domain of the website in Digital Ocean DNS tab.

  • I set the nameservers of the website domain name I want to host to Digitalocean nameservers in the domain registrar.
  • I add the domain name to digital Ocean DNS tab

Is there a way I would avoid the second requirement of adding the domain to digital ocean DNS tab, so that when a client order hosting service from me I will not need to add his/her domain to Digital Ocean tab?

How do I set custom nameservers such that the client uses my custom nameservers eg instead of digital ocean nameservers

2 Answers

cPanel has a built-in DNS manager. You can find how to setup the nameservers here:

Once you have done that, you can give your clients your own nameservers. Your clients will use the DNS manager in cPanel to manage their DNS records.

You can also do it with Plesk. It 100% fits your requirements. They have step-by-step instruction in the KB article on how to deploy it on Digital Ocean:

Talking about DNS, it is configured by default to use your server to host zones. All you need is to register these nameservers with your registrar.

More about DNS in Plesk can be found here:

Have another answer? Share your knowledge.