How to Access CyberPanel over HTTPS using Hostname and SSL

When we install CyberPanel on a server, we can access it using the server IP address. The CyberPanel runs on port 8090, so if your server IP address is 1.1.1.1, you can access it over https://1.1.1.1:8090. However, this will give you an SSL warning because SSL certificates are always issued for a hostname, not for an IP address.

Why to setup CyberPanel Access over Hostname and HTTPS

Some of the possible reasons are:

  • Remembering the hostname is easier than the IP address.
  • We can set up SSL certificates for a hostname only.
  • When we login to CyberPanel, we send the username and password over the network. It’s good to have SSL certificates in place so that the communication is encrypted and our credentials are secure.
  • We can choose any website from the CyberPanel to setup as CyberPanel hostname. We can use any subdomain too for this purpose as long as it points to the server IP address. This way we can choose a random control panel URL, which is more secure than a static IP address.

Setting up CyberPanel Access over Hostname and SSL

The first step is to create a website in the CyberPanel. You can go through the below post to learn how to do it properly.

CyberPanel Create Website

If you want to use a subdomain for CyberPanel, make sure you create a website for it. Adding a subdomain from the website management tools won’t work.

Once the website is ready for the CyberPanel, go to the Dashboard and click on the SSL button.

Cyberpanel Dashboard
Cyberpanel Dashboard

On the next page, click on the Hostname SSL button.

Cyberpanel Hostname Ssl
Cyberpanel Hostname SSL

On the next page, select the website that you want to use for accessing CyberPanel and click on the “Issue SSL” button.

Cyberpanel Issue Hostname Ssl
Cyberpanel Issue Hostname SSL

You will get an alert message with the success message as shown in the below image.

Cyberpanel Host Ssl Issue Success
Cyberpanel Host Ssl Issue Success

That’s it. We can now access CyberPanel using hostname over HTTPS.

Accessing CyberPanel using Hostname and HTTPS

Go to the URL https://hostname:8090 and you should see the CyberPanel login page with a valid SSL certificate from Let’s Encrypt.

Accessing Cyberpanel Hostname Ssl
Accessing Cyberpanel Hostname SSL

We can issue CyberPanel Hostname SSL for a single website only. If you issue Hostname SSL for a website, the earlier hostname SSL certificate will be revoked.

4 thoughts on “How to Access CyberPanel over HTTPS using Hostname and SSL”

  1. Thanks for the clear instructions, I’m wondering if you have any advice about the following…

    We have more than one domain on the same server, let’s call them a.com, b.com & c.com.

    The problem is that :8090 works on all of them but we have hostname ssl on the first one only.

    So, if you go to a.com:8090 all is perfect, but b.com:8090 and c.com:8090 also try to load cyberpanel just with ssl errors.

    How can we either block 8090 on the other domains or redirect them to a.com:8090

Leave a Comment

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