Linux Systems Engineer
- Oct 18, 2019
- Reaction score
cPanel provides a user-level access interface where users can manage their web hosting. WHM (Web Host Manager) provides a root and reseller level access interface where users can manage settings related to server administration and account management.
- You’ve acquired a VPS solution.
- Minimum 1 GB RAM (2 GB Recommended)
- Minimum 20 GB Disk Space (40 GB Recommended)
- You’ve installed an SSH client (
Step 1: Log on to VPS server.
First, you need to log on to your VPS.
Step 2: Install Perl.
Install Perl by entering the following command:
yum –y install perl
Download and run the following WHM installation script:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Once the installation script is finished, you will see the following script:
Step 4: Setting up WHM.
Using your web browser, go to "
IMPORTANT TIP: Make sure you are using "https" to access WHM in your web browser!
When you see the following screen, login with username "root" and your root password.
Read and accept the license agreement on the following screen.
Enter your contact information and valid email address.
Scroll down, specify DNS resolvers and network device (Ethernet port), then proceed to the next step.
Here, you can add additional IP addresses (if you have them, or you can skip this):
Now, you need to choose your nameserver configuration from 4 options. BIND is recommended. If you don't want to run a DNS server on your local machine, you can choose the "Disabled" option.
Enter nameservers, for example "ns1.mydomain.com" and ns2.mydomain.com," then add A Entries for your hostname.
Now, you can configure your FTP server. PURE-FTPD is recommended.
Enable cPHulk with standard settings, then proceed to the next step.
Next, you are asked if you want to use file system quotas. The recommended option is "Use file system quotas." Click on "Finish Setup Wizard."
Now, you will see a list of some new features.
Enable or disable features, and click on "Save Settings."
You will now see the WHM homepage:
Step 5: Create a New Account and cPanel.
To see the cPanel interface, you will need to create a new account. Navigate to "Home > Account Functions > Create a New Account."
Enter your domain, username, password, and email. You can leave other items defaulted.
To access cPanel, go to "
After authorization, you should see the following cPanel screen, from which you can manage your site settings:
Congratulations! That’s it! You now know how to set up cPanel WHM on your VPS or Dedicated Server!