SSL not work in main Domain


#1

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


#2

Hi @rashid

what’s your domain name?


#3

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


#4

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.


#5

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.

https://www.namecheap.com/support/knowledgebase/article.aspx/9770/38/how-to-use-htaccess-to-redirect-to-https-in-cpanel

Thank you


#6

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