Requirements before you start
| Requirement | Details |
|---|---|
| Operating system | A fresh, minimal install of a cPanel-supported OS and version; check the current list in the cPanel installation guide |
| Fresh server | No existing Apache, Nginx, MySQL, mail server or other panels |
| Hostname | A fully qualified domain name, such as server1.example.in, with DNS pointing to the server |
| IP address | A static public IPv4 address |
| Licence | A cPanel licence for that IP (trial or paid) |
| Resources | Well above cPanel's minimums for production hosting; a dedicated server is ample |
| Access | Root SSH access and, ideally, IPMI/iLO for recovery |

cPanel licensing in brief
cPanel is commercial software licensed per server, with pricing tiers based on the number of hosted accounts. Before buying, count how many cPanel accounts you will host now and in a year, compare tiers and remember that the licence is a recurring cost. Some hosting providers resell cPanel licences; you can also buy directly or through a partner. Confirm the current pricing model before you commit.
Step 1: prepare the operating system
- Install the supported OS fresh, using the provider's installer or your own ISO through iLO.
- Apply all updates and reboot.
- Set the hostname:
hostnamectl set-hostname server1.example.in. - Create DNS A records for the hostname (and later for nameservers).
- Check that no web, database or mail services are installed or running.
Step 2: install cPanel on the dedicated server
Log in as root over SSH (use a screen or tmux session so a dropped connection does not interrupt the install) and run the official installer:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
The installation takes a while, often 30 to 60 minutes or more, as it compiles and configures many components. Let it finish without interruption. When it completes, it prints the WHM login address.
Step 3: complete the WHM setup wizard
- Open
https://your.server.ip:2087and log in as root. - Accept the licence agreement and enter contact email addresses for alerts.
- Configure networking: hostname, resolvers and the main IP.
- Set up nameservers (your own, such as ns1/ns2.example.in, or external DNS).
- Choose services such as the FTP server and mail server options.
- Set disk quotas.
Step 4: harden the cPanel server
- Run the WHM Security Advisor and fix its recommendations.
- Enable two-factor authentication for WHM and cPanel users.
- Use SSH keys for root, and restrict SSH and WHM access by IP where possible.
- Enable a firewall (for example the one built into cPanel or CSF) with only needed ports open; see firewall best practices.
- Enable cPHulk brute-force protection.
- Use PHP-FPM with per-account pools and suitable PHP versions via MultiPHP.
- Keep cPanel automatic updates enabled.
Step 5: configure backups
WHM includes a backup system that can create daily, weekly and monthly account backups. Send them to a remote destination (such as S3-compatible storage or an SFTP server), not only to a local disk, and test restoring a single account. See automated backups on a dedicated server.
Step 6: create packages and accounts
Define hosting packages (disk, bandwidth, email accounts, databases) that match your client tiers, then create accounts. Migrate existing sites with WHM's transfer tool if moving from another cPanel server.
Tuning cPanel for performance
A default cPanel install works, but a few adjustments make a big difference on a powerful dedicated server. Switch PHP handling to PHP-FPM so each account has its own pool and memory limits, and set sensible defaults for workers per account in WHM. Enable OPcache for every PHP version you offer. Tune MySQL or MariaDB for your memory, starting with the InnoDB buffer pool, and enable the slow query log. Consider a caching layer such as LiteSpeed (with its own licence) or Nginx in front of Apache if many of your sites are WordPress. Turn on HTTP/2 and Brotli or gzip compression. Finally, schedule backups and heavy maintenance tasks for quiet hours so they do not compete with client traffic.
Email on a cPanel server
cPanel includes a full mail stack, which is convenient but brings deliverability and security responsibilities. Set reverse DNS for the server IP to the hostname, publish SPF, DKIM and DMARC for hosted domains (cPanel can help generate these), enable outbound rate limits per account and monitor the mail queue for spam from compromised sites. Many agencies prefer to keep websites on cPanel and send client mailboxes to a dedicated email provider, which removes the biggest risk.
Ongoing maintenance
Once live, check WHM's server status and security advisor weekly, review backup reports, keep an eye on disk and inode usage per account and update PHP versions as older ones reach end of life. Plan for the OS itself to reach end of life too: cPanel publishes which OS versions it supports, and moving to a newer one usually means building a fresh server and transferring accounts with WHM's tools.
When another panel might be better
cPanel is powerful but licensed per account tier, which can become expensive for large numbers of small sites. Free and lower-cost panels exist, and some teams skip panels entirely in favour of automation. We compare options in the best control panels for managing a dedicated server. If you prefer a panel-free setup, see the Ubuntu dedicated server setup guide.
A hypothetical setup
A web design studio moves 80 client sites from two reseller accounts to its own dedicated server. It installs AlmaLinux from an ISO through iLO, sets the hostname server1.studio.in with matching DNS, buys a cPanel licence tier that covers 100 accounts with room to grow, and runs the installer in a tmux session. After the WHM wizard, the team enables PHP-FPM, cPHulk, two-factor login and remote backups to object storage, restricts WHM to the office IP and a VPN, and creates three hosting packages for its client tiers. Accounts are moved with WHM's transfer tool over two weekends, with DNS switched per client. Clients get the same familiar cPanel login, but faster sites and the studio controls the whole platform.
Installation mistakes
- Installing on a server that already has a web or database server.
- Using an unsupported OS version.
- A hostname that does not resolve, or that matches a hosted domain.
- Leaving WHM open to the world without 2FA.
- Backups stored only on the same server.
Why businesses choose SkyRain Cloud dedicated servers
SkyRain Cloud dedicated servers are well suited to cPanel hosting:
- Indian data centers, Indian latency. Intel Xeon dedicated servers are hosted in Mumbai and Delhi, close to customers across India.
- The whole machine is yours. 100% unshared hardware: no other tenants competing for CPU, memory or disk.
- DDoS protection included on the network, so a flood aimed at your IP does not have to become your problem alone.
- Full control. Root or Administrator access plus iLO/IPMI out-of-band management to reboot, reinstall or mount your own ISO.
- Real support channels. 24/7 support tickets, WhatsApp and a Discord community, plus a public status page.
- Simple billing. Monthly billing in rupees with UPI, net banking and cards.
Frequently Asked Questions
Can I install cPanel on any Linux distribution?
How long does a cPanel installation take?
Is cPanel free?
Can I install cPanel on a server that already hosts websites?
What port does WHM use?
Can SkyRain Cloud dedicated servers run cPanel?
Conclusion
Installing cPanel on a dedicated server is straightforward when you start clean: a supported OS, a proper hostname, a licence, the official installer and a careful WHM setup followed by hardening and remote backups. The result is a familiar, capable platform for hosting many sites.
Compare SkyRain Cloud's plans below, or see the full specs on our dedicated server page.
SkyRain Cloud Dedicated Server Plans
Unshared Intel Xeon bare-metal servers in Mumbai and Delhi data centers with 1 Gbps connectivity. Every plan includes iLO / IPMI out-of-band management, DDoS protection, Full root / Administrator access, Additional IPv4 addresses available and Billed monthly.
| Plan | Cores / Threads | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| Business 2× Intel Xeon E5-2699 v4 (Mumbai / Delhi) | 44 / 88 (2.2 GHz base, 3.6 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹17,999/month | Business websites, stores, databases, ERP and many client sites | Order |
| Enterprise 2× Intel Xeon Platinum 8269CY (Mumbai / Delhi) | 52 / 104 (2.5 GHz base, 3.8 GHz turbo) | 128 GB DDR4 ECC | 1 TB NVMe SSD | 1 Gbps | ₹19,999/month | Virtualization hosts, large databases, SaaS and container platforms | Order |
| Custom | More RAM or storage, a second server for failover, or several servers for a cluster: quoted by the team. | Clusters, failover pairs, unusual specs | Ask | ||||
Prices are monthly in INR as listed on the SkyRain Cloud store (verified 2026-11-23). Live stock and final price are shown at checkout.