cPanel
The most popular web hosting control panel. Manage websites, emails, databases, and more with an intuitive interface.
Getting started
cPanel is the most popular hosting control panel, offering an intuitive interface to manage websites, email, databases, and more.
- Go to https://my.cubepath.com/deploy
- Select a VPS plan (recommended: gp.starter or higher for production)
- Under Operating System, choose "cPanel"
- Click Deploy
Installation time: 15-60 minutes (installation completes automatically and the VPS will reboot when finished)
Deploy via CubePath Cloud API
Via CubeCLI
cubecli vps create \
--name cpanel-server \
--plan gp.starter \
--template "cPanel" \
--location us-mia-1 \
--project <project-id>
Via API
curl -X POST https://api.cubepath.com/vps \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "cpanel-server",
"plan": "gp.starter",
"template": "cPanel",
"location": "us-mia-1",
"project_id": "YOUR_PROJECT_ID"
}'
Technical information
Initial access:
- WHM (WebHost Manager): https://YOUR-IP:2087
- cPanel: https://YOUR-IP:2083
- Username: root
- Password: Your VPS root password
Compatible operating system:
- AlmaLinux 8/9 or Rocky Linux 8/9
- CentOS 7 (legacy)
Installed software:
- cPanel (latest stable version)
- Apache Web Server
- MySQL/MariaDB
- PHP (multiple versions available)
- Exim (mail server)
- dovecot (IMAP/POP3)
- Pure-FTPd
- BIND (DNS)
Ports used:
- 2087: WHM (HTTPS)
- 2086: WHM (HTTP)
- 2083: cPanel (HTTPS)
- 2082: cPanel (HTTP)
- 80: HTTP
- 443: HTTPS
- 21: FTP
- 22: SSH
- 25: SMTP
- 110: POP3
- 143: IMAP
- 465/587: Secure SMTP
- 993: Secure IMAP
- 995: Secure POP3
- 53: DNS
Important file locations:
- cPanel configuration: /var/cpanel/cpanel.config
- User accounts: /var/cpanel/users/
- Websites: /home/username/public_html/
- Apache logs: /usr/local/apache/logs/
- cPanel logs: /usr/local/cpanel/logs/
System requirements:
- Minimum RAM: 2 GB (requires at least 1900 MB free)
- Recommended RAM: 8 GB or more (plan gp.starter or higher)
- Disk space: Minimum 40 GB
- Processor: 2+ cores recommended
Useful commands
# Update cPanel
/scripts/upcp
# Restart main services
/scripts/restartsrv_httpd # Apache
/scripts/restartsrv_mysql # MySQL
/scripts/restartsrv_exim # Mail server
# Create cPanel account
/scripts/wwwacct domain.com username
# Remove account
/scripts/removeacct username
# List all accounts
cat /etc/trueuserdomains
# Verify cPanel license
/usr/local/cpanel/cpkeyclt
Recommended initial configuration
After installation, access WHM (https://YOUR-IP:2087) to:
- Configure nameservers: WHM → Networking Setup → Nameserver IPs
- Configure mail server: WHM → Mail → Exim Configuration Manager
- SSL/TLS: WHM → SSL/TLS → Install AutoSSL (free Let's Encrypt)
- Security: WHM → Security Center → Configure Security Policies
- Tweak Settings: WHM → Server Configuration → Tweak Settings
- Firewall: WHM → Plugins → ConfigServer Security & Firewall (CSF)
Support and documentation
Getting started
- Access WHM with root credentials
- Complete the initial configuration wizard
- Create your first cPanel account from WHM → Account Functions → Create a New Account
- Install AutoSSL for free automatic SSL certificates
Additional resources
- Official documentation: docs.cpanel.net
- Community forums: forums.cpanel.net
- Video tutorials: youtube.com/cpanel