Here’s a full step-by-step guide to install WHM/cPanel on a VPS — ideal if you’re using MikyHost or any VPS provider.
✅ Requirements to Install WHM/cPanel
System Requirements:
-
Operating System:
-
AlmaLinux 8 or 9 ✅
-
Rocky Linux 8 or 9 ✅
-
CentOS 7 ✅ (not recommended for new installs)
-
-
Architecture: 64-bit
-
Minimum RAM: 2 GB (4 GB recommended)
-
Disk Space: At least 20 GB
-
Root access via SSH
⚠️ cPanel/WHM is commercial software, but you can get a 15-day free trial after installation.
Step-by-Step WHM/cPanel Installation
Step 1: Connect to VPS via SSH
Open terminal or use PuTTY (for Windows):
ssh root@your-vps-ip
Step 2: Update the System
yum update -y # For CentOS/RHEL/AlmaLinux
dnf update -y # For Rocky Linux / AlmaLinux 8+
Step 3: Set a Fully Qualified Domain Name (FQDN) Hostname
Replace your.hostname.com
with your actual FQDN:
hostnamectl set-hostname your.hostname.com
You can check it with:
hostname
Step 4: Download and Run the WHM Installer
cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest
This will:
-
Download the latest WHM/cPanel version
-
Install all dependencies (can take 15–45 minutes)
Step 5: Access WHM in Browser
After the installation is complete, access WHM:
https://your-vps-ip:2087
Example:https://123.45.67.89:2087
You may see a browser security warning — continue to proceed (self-signed certificate).
Step 6: Initial Setup Wizard
Login using:
-
Username:
root
-
Password: VPS root password
Then:
-
Agree to the license
-
Set your contact email and nameservers
-
Configure networking settings
Step 7: Activate cPanel License (Free Trial or Paid)
You’ll be prompted to activate:
-
Free 15-day trial (based on IP)
-
Or input your license key
To verify your IP has a trial:
https://verify.cpanel.net
Post-Install Recommendations
-
Configure firewall: allow ports 2087 (WHM), 2083 (cPanel), 80, 443, etc.
-
Install Let’s Encrypt or AutoSSL for domain security
-
Create your first cPanel account
-
Enable backups and alerts
❗Important Notes
-
WHM/cPanel is NOT free after 15 days — pricing starts around $15/month.
-
Best installed on a fresh VPS (without other control panels).
-
Only supports CentOS/AlmaLinux/Rocky Linux — no Ubuntu support.