CyberPanel is a free, open source web hosting control panel built on top of OpenLiteSpeed. From a single web interface it manages websites, databases, DNS, email, FTP and Let's Encrypt certificates, which makes it a popular free alternative to cPanel. In this tutorial you will install CyberPanel on a fresh Ubuntu 24.04 server, log in to the panel, and publish a first website with HTTPS.

Prerequisites

To follow this guide you need:

  • A fresh server running Ubuntu 24.04 LTS (x86_64), for example a CubePath VPS. CyberPanel installs its own web server, database and mail stack, so do not install it on a server that already runs Apache, Nginx, MySQL or another panel.
  • At least 2 GB of RAM (1 GB is the bare minimum) and 10 GB of free disk space.
  • A non-root user with sudo privileges.
  • Optionally, a domain name with an A record pointing to your_server_ip, if you want to issue an SSL certificate at the end of the guide.

Step 1 - Updating the system and setting the hostname

Start from an up-to-date system so the installer does not pull packages against stale indexes:

sudo apt update
sudo apt upgrade -y

CyberPanel uses the server hostname for the panel and for mail. Set it to a fully qualified name you control, such as panel.your_domain:

sudo hostnamectl set-hostname panel.your_domain

Confirm the change:

hostnamectl --static
panel.your_domain

If the kernel was upgraded, reboot before continuing:

sudo reboot

Step 2 - Downloading and running the installer

CyberPanel is installed with the vendor's installation script. Download it first so you can review what it does before running it as root:

curl -fsSL https://cyberpanel.net/install.sh -o cyberpanel-install.sh
less cyberpanel-install.sh

When you are satisfied, run it with root privileges:

sudo bash cyberpanel-install.sh

The installer is interactive. The exact wording of the prompts changes slightly between releases, but for a standard setup answer them as follows:

PromptRecommended answer
Install CyberPanel1 (Install CyberPanel)
Web server edition1 (OpenLiteSpeed, free)
Full service (PowerDNS, Postfix, Pure-FTPd)Y if you want DNS, mail and FTP, otherwise N
Remote MySQLN (use the local database)
CyberPanel versionPress Enter for the latest release
Admin passwords and type your_strong_password
Memcached / RedisN unless your sites need them
WatchdogY to restart services automatically if they crash

The installation takes 10 to 30 minutes depending on the server. When it finishes, the script prints a summary with the panel URL and credentials, and asks whether to reboot. Answer y.

Step 3 - Verifying the services

After the reboot, reconnect over SSH and check the two main services: lscpd runs the CyberPanel interface and lsws is OpenLiteSpeed:

sudo systemctl status lscpd lsws --no-pager

Both should report active (running):

● lscpd.service - LSCPD
     Loaded: loaded (/etc/systemd/system/lscpd.service; enabled; preset: enabled)
     Active: active (running) since ...
...
● lsws.service - LiteSpeed HTTP Server
     Loaded: loaded (/etc/systemd/system/lsws.service; enabled; preset: enabled)
     Active: active (running) since ...

Confirm that the panel is listening on port 8090:

sudo ss -tlnp | grep 8090
LISTEN 0      511          0.0.0.0:8090       0.0.0.0:*    users:(("lscpd",pid=1234,fd=6))

Step 4 - Checking the firewall

CyberPanel installs and manages firewalld and opens the ports it needs (22, 80, 443, 8090, plus DNS, mail and FTP ports if you installed the full service). Its own Security > Firewall page edits these rules, so do not enable UFW on the same server: two firewall managers writing rules at once leads to ports that are unexpectedly open or closed.

List the active rules:

sudo firewall-cmd --list-all

The ports: line of the public (active) zone should include at least 22/tcp, 80/tcp, 443/tcp and 8090/tcp.

If port 8090 is missing, add it permanently and reload:

sudo firewall-cmd --permanent --add-port=8090/tcp
sudo firewall-cmd --reload

Step 5 - Logging in to CyberPanel

Open the panel in your browser:

https://your_server_ip:8090

The panel uses a self-signed certificate at first, so the browser shows a warning. Accept it to continue. Log in with the username admin and the password you chose in Step 2.

If you lose the admin password, reset it from the server with the adminPass helper that CyberPanel installs:

sudo adminPass your_new_strong_password

Log in again with the new password to confirm it took effect.

Step 6 - Creating your first website

With the domain's A record pointing to the server, create a site from the panel:

  1. Go to Websites > Create Website.
  2. Select the Default package and the admin owner.
  3. Enter your_domain and a contact email, choose a PHP version, and click Create Website.

CyberPanel creates the virtual host in OpenLiteSpeed and a document root under /home/your_domain/public_html. Verify it from the server:

curl -I http://your_domain
HTTP/1.1 200 OK
...
server: LiteSpeed

To enable HTTPS, go to SSL > Manage SSL, select the website and click Issue SSL. CyberPanel requests a Let's Encrypt certificate, which only works when the domain already resolves to this server and port 80 is reachable. Check the result:

curl -I https://your_domain
HTTP/2 200
server: LiteSpeed

You can also issue a certificate for the panel itself under SSL > Hostname SSL, so that https://panel.your_domain:8090 loads without a browser warning.

Troubleshooting

  • The installer stops with a message about an unsupported OS or existing software. CyberPanel expects a clean, supported system. Reinstall the server with Ubuntu 24.04 and run the installer before adding anything else.
  • https://your_server_ip:8090 times out. Check that lscpd is running (sudo systemctl status lscpd) and that 8090/tcp appears in sudo firewall-cmd --list-all. Also check any cloud or network firewall in front of the server.
  • SSL issuance fails. Confirm the domain resolves to the server with dig +short your_domain and that curl -I http://your_domain works from outside. Let's Encrypt validates over port 80.
  • Mail is not delivered to external servers. Many providers restrict outbound port 25 by default. Contact your provider's support if you need to send mail directly from the server.
  • Service errors. Read the logs with sudo journalctl -u lscpd and check OpenLiteSpeed's error log at /usr/local/lsws/logs/error.log.

Conclusion

You now have CyberPanel with OpenLiteSpeed running on Ubuntu 24.04, protected by a strong admin password and serving a first website over HTTPS. From here you can create databases under Databases > Create Database, install WordPress or other applications from the website's management page, and set up email accounts if you installed the full service. Schedule backups under Backup before hosting production sites.