Installation Guides

How to Install cPanel on an Offshore VPS

Step-by-Step Tutorial

What you will set up

By the end, you will have cPanel and WHM running on a fresh offshore VPS — the control panel that lets you manage websites, email, and databases from your browser.

Do one step at a time. cPanel must go on a brand-new server with nothing else installed, so it is best to start with a clean VPS and not touch anything else until the install finishes.

Where you workVPS over SSH as root + your browser.
What you needA fresh server and a paid cPanel license.
Why do itManage sites, email, and databases without commands.

Before you start

The goal: install cPanel/WHM on an offshore VPS, then log in and activate it.

Two honest points first. cPanel is paid software — you need a valid license, so buy one before you begin. And cPanel must be installed on a fresh server running a supported operating system, as the root user, with no other web server (like Apache or Nginx) already on it. If your VPS already runs a website, start with a clean re-install or a new server.

  • Use a supported OS: AlmaLinux, Rocky Linux, or CloudLinux.
  • Have your cPanel license details ready (it is usually tied to your server IP).
  • Keep your server IP, root password (or SSH key) ready.
  • Make sure the server has at least 1 GB RAM (more is better) and plenty of free disk space.
  • Keep one SSH session open until the install finishes — it takes a while.

Where does each part happen?

Each task lives in a different place. Here is the simple rule:

  • The install itself → over SSH, logged in as root.
  • Server-wide settings (accounts, packages, security) → WHM at port 2087.
  • A single website’s files, email, and databasescPanel at port 2083.
  • Domain records (DNS) → your domain or Cloudflare panel.
Map of where each step happens when installing cPanel on an offshore VPS
Where each step happens: SSH for the install, WHM and cPanel in your browser.

The steps

Step 1: Start with a fresh VPS and set the hostname

Begin with a clean AlmaLinux or Rocky Linux VPS. cPanel needs a fully-qualified hostname (something like server.yourdomain.com, not just server). Log in over SSH as root and set it.

hostnamectl set-hostname server.yourdomain.com

Check: running hostname shows your full server.yourdomain.com name.

Step 2: Run the official cPanel installer

Download and run the official installer. This takes a while — sometimes 30 minutes or more — so leave it running and do not close the terminal.

cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest

Check: the installer finishes with a success message and no errors at the end.

Step 3: Open WHM and log in as root

When the install is done, open WHM in your browser. WHM is the admin side that controls the whole server.

https://your-server-ip:2087

Log in with the username root and your server’s root password. You may see a certificate warning the first time — that is normal for a brand-new server using its IP.

Check: the WHM login page loads and you can sign in.

Step 4: Activate your license and finish the wizard

On first login, WHM runs a short setup wizard. Enter your contact email, set your nameservers, and apply the basic security options it suggests. Your cPanel license activates here (or run the license tool below if it does not).

Check: the wizard finishes and WHM shows your dashboard with no license warning at the top.

Extra commands you may need

Run these only on your own server. If your server uses a managed panel, check with support before changing system-level settings.

Confirm a supported OS before installing

cat /etc/redhat-release

This should show AlmaLinux, Rocky Linux, or CloudLinux. If it shows Ubuntu or Debian, the cPanel installer will refuse to run.

Check or refresh the license status

/usr/local/cpanel/cpkeyclt

Run this if you see a license error in WHM. It re-checks your license and refreshes it against your server IP.

Keep short notes as you go

While you work, jot down each change: the old value, the new value, the time, and whether the test passed. For example: “Set hostname to server.yourdomain.com at 10:30, installer started 10:32, finished 11:05, WHM login works, license active.” It sounds small, but it saves a lot of confusion if something breaks.

If you run server commands, paste the output into your notes too. Then if you ask support for help, you can show the exact command, the exact error, and the exact time.

If a step fails, how to undo it

Always have a way back. Because cPanel needs a fresh server, the cleanest rollback is to re-image the VPS from your provider’s panel and start again on a clean OS. If you cannot reach port 2087, fix the firewall first rather than re-installing. For license problems, run the license tool before assuming the install failed. Don’t change ten things at once.

Final testing checklist after installing cPanel on an offshore VPS
The final testing checklist.

How to test after setup

  1. Open https://your-server-ip:2087 and log in to WHM as root.
  2. Check the top of WHM — there should be no license warning banner.
  3. Create a test account (a website) from WHM to confirm accounts can be made.
  4. Open https://your-server-ip:2083 and log in to that account’s cPanel.
  5. Confirm the setup wizard finished and your contact email is saved.
  6. Once a real domain points to the server, re-test using the hostname instead of the IP.

Quick troubleshooting

Problem Likely reason What to do
Installer refuses to run Unsupported OS, or the server is not fresh Run cat /etc/redhat-release; re-image to AlmaLinux/Rocky and try again
Can’t reach :2087 The WHM port is blocked by the firewall Open ports 2087 and 2083 in the firewall, then retry
License error in WHM License not active or IP mismatch Run /usr/local/cpanel/cpkeyclt and confirm the IP matches your license

Final checklist

  • Fresh, supported OS confirmed.
  • Hostname set to a full name.
  • Installer finished with no errors.
  • WHM login works at port 2087.
  • License active and wizard finished.
Need a server for this setup?

OffshoreKaka offers privacy-friendly VPS plans on supported operating systems, so you get a clean server that is ready for cPanel.

View OffshoreKaka VPS plans

FAQ

Is cPanel free?

No. cPanel is paid software and needs a valid license, which is usually billed monthly. Some hosts include it with the plan, so check first — you may not need to buy it separately.

Will installing cPanel improve my Google ranking?

Not on its own. cPanel makes managing your site easier and helps you keep things fast, secure, and on HTTPS, which all support SEO — but your content and backlinks still decide where you rank.

What should I send to support if something breaks?

Send your server IP, the operating system (the output of cat /etc/redhat-release), the exact error message, a screenshot, and the last command you ran before it failed.

Leave a Reply

Your email address will not be published. Required fields are marked *