On this page, you will find a guide on how to run CloudPanel under its own domain with a Let's Encrypt certificate.
- Add the Domain cp.domain.com and select the Generic Vhost Template.
- Go to the Vhost Editor of the domain and replace the template with the following one:
This Vhost Template is using a reverse proxy to forward all requests to the CloudPanel port 8443.
Make sure that your domain is set as server_name.
If you are using Cloudflare, comment the following lines in the Vhost Template:
and uncomment the following ones:
Issue a Let's Encrypt Certificate for your domain.
Done. CloudPanel is now accessible via