Installing DNSOnly on a fresh CentOS 7 server

Much like the cPanel/WHM installer for CentOS, cPanel has made it really easy to install the DNSOnly service. First, make sure you have a clean new server to install the DNS service onto.

Preparing your environment

Log in 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 server's repositories using the following command before performing the installation: yum update -y --skip-broken

Installing cPanel DNSOnly

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 https://securedownloads.cpanel.net/latest-dnsonly

Now run the installer using the command:

sh latest-dnsonly

Note: As cPanel DNSOnly may take up to an hour to install, we recommend running the command inside a screen. You can install screen with yum install screen -y and run it by executing the screen command.

That's it, now just login to the DNS manager to ensure it is running correctly. This works in the same way as WHM. http://YOUR-IP:2086/

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...