February 4, 2019
February 4, 2019
Firstly let’s discern these two terms: cPanel and WHM. Web Host Manager (WHM) is like administration panel of Your server. All global VPS changes and account creation is done specifically through WHM. cPanel on another hand is control panel of an actual account that you create via WHM. cPanel grants you access to features of your account, like email, data, redirect, backup management, etc.
Proper WHM setup is an essential step of preparing to host your websites on the VPS with cPanel. You will specify necessary details so your website could be accessed over the internet. In this tutorial, we will overview each step of Initial Setup Wizard which is the first thing that you see in freshly installed cPanel/WHM.
Before you begin this guide you’ll need the following:
Usually, WHM is accessible via IP address of your VPS on 2086 or 2087 (https/SSL) ports. For example, let’s say your VPS IP is
22.214.171.124, in order to reach WHM you would have to use either one of these URLs in your browser: https://126.96.36.199:2087/ or http://188.8.131.52:2086/.
IMPORTANT! If you use https URL, you will get “Your connection is not secure” or similar warning. Please do not worry, this is expected behavior as WHM has only self-signed SSL certificate which is not recognized by your browser. You just need to add an exception by clicking on Advanced button:
After adding the exception you will be redirected to WHM login screen and prompted to provide your username and password.
The very first section of setup is license agreement, please review the license notes and click on I agree….
Network setup is quite basic. In Contact Information field fill in the mandatory Server Contact Email Address field. All other fields and checkboxes are optional, therefore you can leave them as they are.
Next field is Hostname, here you must fill in the domain that you will point to your server later on. Proper hostname should have sub name, like
Going down you see a section called Resolvers, here you need to specify DNS resolvers which will be responsible for querying IPs of domain names. Here you can specify Google’s Public DNS servers or contact your VPS provider asking for any local DNS servers.
Google Public DNS servers are:
No changes should be done in Main Network field, except if you have several network interfaces and don’t want to use the default one, otherwise skip this section.
Once all is set, please click on Save and continue at the bottom.
Since in this scenario only one IP is available for your server, click Go to Step 4.
However, if it happens to be that multiple IPs are available, you should perform these steps:
Next section is nameserver configuration. You will have to choose the service which will manage all your DNS. A list of features is shown in the table, however, the most popular is BIND server which is recommended by us as well.
Once you scroll down a little bit you reach nameserver list. Input the name servers that you will create with your domain registrar. Usually, they are named like
ns2.yourdomain.com, where yourdomain.com is your actual domain name. Third and fourth nameservers are optional.
The last section of this step is Add A Entries for Nameservers & Hostname. Here you must input IPs for the nameservers. As your VPS will serve as the DNS server you need to specify your VPS dedicated IP near both nameservers, in this case, it is
184.108.40.206. Please contact your VPS provider for the actual IP address that you must use.
It is wise to add A records for your name servers as this would increase the chances of your websites accessibility, check the box near Add A Entries for all Nameservers and it will be done. A record for hostname is optional.
Click on Save & Go to Step 5 and proceed further.
This section lets you to setup and configure the services that you and your clients use on the server. The default setup usually suits most of the clients, You can just click on Skip This Step and Use The Default Settings button.
If you want to customize the setup, in this page you are able to choose FTP daemon and mail service, configure cPHulk brute force protection module, install a common set of Perl modules.
And finally the last step – Setup Quotas. Leave the default setting as it is and click on Finish Setup Wizard button.
IMPORTANT! If you do not enable quotas, you cannot track disk space usage.
You have learned initial cPanel/WHM setup which is presented on each newly installed cPanel/WHM.
November 06 2017
November 06 2017
Great post, very nicely explained how to setup cPanel/WHM on Vps with steps.
February 04 2018
Hey, Thanks for your nice post. Do you have any tutorial on how to install cPanel and WHM on my VPS CentOS 7 server?
Replied on February 15 2018
Hello, Maria! If you have a VPS package at Hostinger, you can choose cPanel/WHM to be pre-installed. After that, you can simply follow the instructions of this tutorial to finish setting it up. Alternatively, you may refer to the official installation guide in cPanel documentation.