X
X
X
X

Knowledge Base

HomepageKnowledge BaseServer/VPS/VDSHow to Install cPanel/WHM on a VDS ...

How to Install cPanel/WHM on a VDS Server

This guide explains the key concepts, practical steps and important considerations for how to install cpanel/whm on a vds server.

What Is cPanel/WHM?

cPanel provides a graphical interface for managing websites, email, databases and files, while WHM is the server-level administration interface used to manage cPanel accounts and server services.

Requirements Before Installation

Use a freshly installed supported operating system, root access, a static publicly reachable IPv4 address, a resolvable fully qualified hostname and a valid cPanel license. Supported operating systems and versions change over time, so verify the current official requirements before installation.

Configure the Hostname

Use a fully qualified hostname such as server.example.com or host.example.com and point it to the VDS IP through DNS. Avoid using the same hostname as a hosted website.

Connect Through SSH

Connect to the Linux VDS as root. Example: ssh root@SERVER_IP. If SSH uses a custom port, specify it with the -p option.

Update the Operating System

Install current package updates before starting. On AlmaLinux/Rocky-based systems you can use dnf update; on Ubuntu use apt update and apt upgrade. Verify compatibility before making major operating-system changes.

Run the Official Installer

From the root account, cPanel's official installation command is: cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest. Installation time depends on server resources and network speed.

First WHM Login

After installation, open WHM using the server address and secure WHM management port. Sign in as root and complete the initial configuration, including agreements, contact information and nameserver settings.

License and IP Address

A cPanel/WHM license is associated with the server's IP address. Check licensing whenever the server IP or networking configuration changes.

Firewall and Security

After installation, allow only required service ports, use a strong root password, restrict SSH and WHM access where practical, keep the system updated and consider additional firewall and security controls.

Important Notes

cPanel is intended for a clean supported operating system. It should not be treated as a simple application to add to an already customized server. cPanel does not provide an uninstaller; removing it generally requires reinstalling the operating system.

Conclusion

A properly prepared VDS with cPanel/WHM can simplify multi-site hosting administration. With İde Bilişim VDS services, verify the operating system, IP, hostname, resources and licensing before installation.

Frequently Asked Questions

Before making major changes, record the current configuration and maintain a usable backup. Critical networking, storage and security changes on production servers should be planned and tested carefully.

SEO Information

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(36 times viewed / 0 people found it helpful)

Top