Author Topic: SSL on Hostname  (Read 2317 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL on Hostname
« on: August 28, 2022, 09:13:29 PM »
Hello to all,
I am trying to setup letīs encrypt on CP hostname but canīt find the place. Any help?

Offline
*
Re: SSL on Hostname
« Reply #1 on: December 17, 2022, 05:18:39 AM »
Make sure DNS is configured properly and then use Change Hostname feature.

Example:
Server1 = 123.0.0.4
vps1.mydomain.com = 123.0.0.4
MyDomain.com = 123.0.0.4

Make sure your DNS is configured correctly (vps1.mydomain.com -> 123.0.0.4 and mydomain.com -> 123.0.0.4)
For best results, also configure reverse DNS for your server IP (123.0.0.4 -> vps1.mydomain.com)

Now change hostname. This will update your SSL certificate from self-signed to "official" Let's Encrypt.
Note: you do not need to make the hostname different, you can keep the same hostname.. if your hostname is already "vps1.mydomain.com" you can still use "vps1.mydomain.com" again)
  • Log in to Server1 CWP via https://123.0.0.4:2087/
  • Use Server Settings - Change Hostname
  • Set New Hostname = vps1.mydomain.com
  • Set Key Size = 4096
  • Set checkmark for all boxes
  • Click Change Hostname

Now you can access https://vps1.mydomain.com without errors
« Last Edit: December 17, 2022, 05:21:17 AM by mixedtribute »

Offline
*
Re: SSL on Hostname
« Reply #2 on: December 28, 2022, 11:32:03 PM »
dear
having a good day
where to point the vps1 to server ip in registrant or in cwp