← All posts Tutorials

How to Set Up a Web Hosting Control Panel on Ubuntu

How to Set Up a Web Hosting Control Panel on Ubuntu

Ubuntu is one of the most popular server operating systems, and installing a hosting control panel on it turns a bare server into a full hosting platform. Here is how to do it.

What you need

  • A fresh Ubuntu VPS — 22.04 LTS or newer is recommended (older versions ship PHP 7, which many modern panels no longer support).
  • Root access to the server.
  • A server that is not already running another web server on ports 80/443.
Always install a control panel on a clean server. Panels configure the web server, database, and mail stack, and mixing them with an existing setup causes conflicts.

Step 1 — Connect to your server

SSH into your fresh Ubuntu server as root:

ssh root@your-server-ip

Step 2 — Run the installer

With Vanta Panel, installation is a single command. Upload and extract the bundle, then run the installer from inside the folder:

unzip vantapanel.zip
cd vantapanel
sudo bash bin/install.sh

The installer runs pre-flight checks (OS version, PHP, disk, ports), then configures Apache, MariaDB, and the mail stack automatically. It is idempotent, so re-running it is safe.

Step 3 — Save your login details

When the installer finishes, it prints your access URLs and login credentials. Save these immediately — you will need them to log in.

Step 4 — Log in

Open the admin panel in your browser at https://your-server-ip/vwhm and log in with the credentials from the installer. The user-facing panel for hosting accounts lives at /vpanel.

Step 5 — Secure the panel with SSL

If you installed by IP, the panel uses a self-signed certificate. To get a trusted certificate, point a domain at your server and issue a free Let's Encrypt certificate. Full details are in the SSL guide.

Step 6 — Create your first account

You are ready to host. Create a hosting account for your first site — see your first hosting account.

Troubleshooting

If the panel does not load, check that ports 80 and 443 are open at your provider's firewall and not held by another web server. More fixes are in the troubleshooting guide.

The bottom line

Setting up a control panel on Ubuntu takes just a few minutes with a modern one-command installer. Once it is running, you manage sites, email, databases, DNS and SSL from a single dashboard. Get started with Vanta Panel.

Ready to own your hosting?

Install Vanta Panel on your VPS in one command.

Get started