CloudPanel: panel address on your own domain with a Let's Encrypt SSL certificate

In the examples, 203.0.113.10 is your server IP address and my-site.com is your domain. Use your own values.

Why open the panel on a domain

Right after the VPS is set up, the panel opens at https://203.0.113.10:8443. If that address has a self-signed certificate, the browser shows a “Your connection is not private” warning. An IP address and a port are also hard to remember.

CloudPanel lets you give the panel its own domain, for example panel.my-site.com. The panel issues a free Let's Encrypt certificate for it and renews it automatically. After that the panel opens at https://panel.my-site.com — with no port and no warnings. Access by IP keeps working.

What you need first

  • A domain that already works. If you ordered the domain from us, it must be activated: fill in the domain registration details in your account, otherwise the registration is not completed and the domain does not work.
  • The server IP address. It is in the server activation email and in your account on the VPS service page.
  • The panel administrator login and password from the server activation email. Only an administrator can see the panel address settings.
Server IP address in the VPS activation email (example)
Server IP address in the VPS activation email (example)

Step 1. Create an A record for panel.my-site.com

Create the record where your domain's DNS is hosted. If you are not sure, check the domain's name servers (NS): ns1.vps-dns.info and ns2.vps-dns.info are our DNS servers (option A); anything else means DNS at your registrar or Cloudflare (option B).

Option A. The domain uses our DNS (ns1/ns2.vps-dns.info)

  1. In the client area, on the VPS page, click “Manage Domains in VDS”, then “Login to DNSmanager control panel”. The DNS panel opens without a password. If the domain is not in the list yet, add it first with the “Add New Domain into DNSmanager” button (details in DNS zone of a domain for VPS).
Client area: “Manage Domains in VDS” → “Login to DNSmanager control panel”
Client area: “Manage Domains in VDS” → “Login to DNSmanager control panel”
  1. In the DNS panel, open “Dashboard” → “Domain names” on the left, select the domain and click “Records”.
  2. Click “Add” and fill in the form: “Name” — panel (the panel adds the domain itself), “Type” — A (internet address v4), “IP address” — your server IP. Click “Ok”.
New record: name panel, type A, server IP address
New record: name panel, type A, server IP address
  1. The panel.my-site.com. record appears in the list.
The panel.my-site.com A record in the domain records list
The panel.my-site.com A record in the domain records list

Option B. DNS at your registrar or in Cloudflare

Open DNS management for the domain at your registrar (or in Cloudflare) and add a record:

TypeName (Host)Value (IP)
Apanel203.0.113.10

Cloudflare: turn proxying off for the panel record — the cloud icon must be grey (“DNS only”). Then Let's Encrypt checks the domain directly on your server, and the browser gets the panel's certificate instead of Cloudflare's.

Step 2. Check that the record works

A new record usually starts working within 5–30 minutes; with some registrars it can take a few hours. Check it with the nslookup command (Command Prompt on Windows, Terminal on macOS and Linux) or with any online DNS lookup service:

nslookup panel.my-site.com 8.8.8.8

The answer must show your server IP:

The record works: panel.my-site.com points to the server IP
The record works: panel.my-site.com points to the server IP

If you see NXDOMAIN or a different IP, wait and check again. The certificate cannot be issued until the record works.

Step 3. Open the Admin Area

Log in to the panel by IP as before (https://203.0.113.10:8443). Click “Admin Area” in the top right corner.

The “Admin Area” button in the top right corner
The “Admin Area” button in the top right corner

Step 4. Go to Settings

Choose “Settings” in the menu on the left.

Admin Area menu → Settings
Admin Area menu → Settings

Step 5. Enter the panel domain and save

On the “General” tab, in the “CloudPanel Custom Domain” block, enter panel.my-site.com in the “Domain Name” field — without https:// (it is already shown on the left) and without a port. Click “Save”.

Domain Name: panel.my-site.com → Save
Domain Name: panel.my-site.com → Save

Step 6. Wait for the success message

As soon as you click Save, the panel requests a Let's Encrypt certificate. It takes 5–15 seconds; do not close the page. The green message “CloudPanel Custom Domain has been saved.” means the certificate is issued and the address works.

Certificate issued: “CloudPanel Custom Domain has been saved.”
Certificate issued: “CloudPanel Custom Domain has been saved.”

If you see a red message instead, see If something went wrong below.

Step 7. Use the new address

Open https://panel.my-site.com in the browser — without the :8443 port. You will see the usual panel login screen. There is no warning, and when you click the icon to the left of the address, the browser shows “Connection is secure”. Bookmark this address.

Logging in at https://panel.my-site.com — the connection is secure
Logging in at https://panel.my-site.com — the connection is secure
  • At this address the panel works through the standard HTTPS port 443. Ports 80 and 443 must be open in the panel firewall — they are open after installation.
  • The address https://panel.my-site.com:8443 (with the port) uses the old panel certificate, so the browser may warn again. You do not need the port.
  • Access at https://203.0.113.10:8443 keeps working — useful if the domain stops working.
  • The certificate renews automatically: the panel checks it every day. For renewal, the A record must still point to this server.

If you restricted port 8443 to your IP address in the panel firewall (step 1. Secure the panel), keep in mind: on the domain, the panel opens through port 443, which is open to everyone. To keep the panel on the domain away from strangers, turn on Admin Area → Security → Basic Auth — the second password is requested whichever way you open the panel.

If something went wrong

If the certificate cannot be issued, the panel shows a red message with the Let's Encrypt error text. The domain is not saved, and if a different panel address was set up before, it stops working too. Access at https://203.0.113.10:8443 always works — fix the cause and click “Save” again.

DNS problem: NXDOMAIN — the record is not found

Error “DNS problem: NXDOMAIN looking up A for panel.my-site.com”
Error “DNS problem: NXDOMAIN looking up A for panel.my-site.com”

Let's Encrypt did not find the panel.my-site.com record. Check it with the command from step 2 — right now the answer looks like this:

nslookup: the record does not work yet or was created incorrectly
nslookup: the record does not work yet or was created incorrectly
  • Not enough time has passed — wait 30 minutes and check again.
  • The record was created in the wrong place (for example, at the registrar while the NS point to our DNS, or the other way round).
  • A typo in the name: the record “Name” must be panel, not panel.my-site.com (some registrars turn the full name into panel.my-site.com.my-site.com). Also check the “Domain Name” field in the panel.

unauthorized: Invalid response … 404 — the record points to another server

Error “Invalid response from http://panel.my-site.com/.well-known/acme-challenge/…: 404”
Error “Invalid response from http://panel.my-site.com/.well-known/acme-challenge/…: 404”

The record exists, but Let's Encrypt reached a different server: the IP it reached is shown before “Invalid response” in the error text. If it is not your VPS IP, fix the IP in the A record (for example, it still has your old hosting address), wait for the update and try again. If it is a Cloudflare address (the record is proxied, orange cloud), turn the proxy off (grey cloud).

connection: Connection refused or Timeout during connect — port 80 is closed

Error “Fetching http://panel.my-site.com/.well-known/acme-challenge/…: Connection refused”
Error “Fetching http://panel.my-site.com/.well-known/acme-challenge/…: Connection refused”

The record points to your server, but Let's Encrypt could not connect to it on port 80 — the domain check uses plain HTTP. Check Admin Area → Security → Firewall: the rule for port 80 must allow everyone (source 0.0.0.0/0). More about the rules: CloudPanel: server and site security.

The panel does not open on the domain, but opens by IP

  • The address was typed with the port — use https://panel.my-site.com without :8443.
  • Port 443 is closed in the panel firewall — restore the 443 rule for everyone.
  • The domain no longer points to the server (for example, the server IP or the domain DNS changed) — fix the A record and save the domain in the panel again.

If you cannot sort it out, open a ticket: tell us the panel domain and the error text.

Questions and answers
Open Admin Area → Settings, clear the “Domain Name” field and click “Save”. The domain address is switched off; access at https://IP:8443 stays.
No, use a separate subdomain such as panel.my-site.com. The main domain and www are needed by the site itself.
No. The panel checks the certificate every day and renews it itself as long as the A record points to this server and port 80 is open.
No, Let's Encrypt certificates are free.

Choose language