SSL on Hostname

Started by mpcgferreira, August 28, 2022, 09:13:29 PM

Previous topic - Next topic

mpcgferreira

Hello to all,
I am trying to setup let´s encrypt on CP hostname but can´t find the place. Any help?

mixedtribute

#1
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)
Now you can access https://vps1.mydomain.com without errors

marwan78

dear
having a good day
where to point the vps1 to server ip in registrant or in cwp