How to install cPanel DNS Only on CentOS 7

Much like the cPanel/WHM installer for CentOS cPanel has made it really easy to install the DNS Only service.

First make sure you have a clean new server to install the DNS service onto.

Preparing your environment

Login to your virtual machine via SSH using Putty (Windows) or Terminal (Mac) using the root user provided in your welcome email.

It is always recommended to update the servers repositories using the following command.

yum update

Installing cPanel DNS ONLY

Once your environment is prepped we need to ensure we are in the right directory. Change to the home directory of your VPS using the command:

cd /home

Now let's get the installer from cPanel:

curl -o latest-dnsonly -L

Now run the installer using the command:

sh latest-dnsonly

That's it, now just login to the DNS manager to ensure it is running correctly. This works in the same way as WHM.


Last updated