SSL not work in main Domain

Hello,
I have a VPS for hosting websites with WHM/Cpanel and Support Letsencrypt … when enable ssl for any domain it work with sub domain only , when visit the website can’t get Https ??
Please help

Thanks

Hi @rashid

what's your domain name?

Www.Pro-sd.com
Www.constt.com
Www.haramainsd.com

Checked via https://check-your-website.server-daten.de/?q=pro-sd.com

Domainname Http-Status redirect Sec. G
http://www.pro-sd.com/
62.77.154.169 301 http://pro-sd.com/ 0.750 D
http://pro-sd.com/
62.77.154.169 200 0.803 H
https://www.pro-sd.com/
62.77.154.169 301 https://pro-sd.com/ 2.050 B
https://pro-sd.com/
62.77.154.169 200 4.154 B

Your https works. You have one valide certificate:

CN=pro-sd.com
30.10.2018
29.01.2019
pro-sd.com, ipv6.pro-sd.com, mail.pro-sd.com, www.pro-sd.com - 4 entries

You don't have a redirect http -> https. So if you open your http - version, that looks like there is no https configured.

But cPanel should have an option to add such a redirect.

Same with your second domain. No redirects http -> https, but a valide certificate.

And with your third domain.

To check such things, a browser is sometimes not so good. Redirects and HSTS are saved. But your certificates are good.

Unfortunately... cPanel does not have such options on its user panel (at least not from a normal one)...
You'll need to dive into .htaccess in order to add such.

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.