SSL Not Working On Subdomain Prefix With (+WWW)

0

I couldn't find the exact solution here. I'm using Hostgator hosting.

Cpanel Screenshot

Mohit Tiwari

Posted 2019-04-02T05:35:48.957

Reputation: 1

1How did you obtain the SSL certificate, and what domain names did you list when obtaining it? – user1686 – 2019-04-02T06:12:45.153

I have added SSL by browsing the certificate of the main domain into the subdomain. It is working on <---https://something.edu.in---%3E but not working on <---www.something.edu.in--->.

– Mohit Tiwari – 2019-04-02T06:21:21.867

1A certificate has the domain stored inside the certificate. If you have not used the proper way to install a certificate, it won't work. You need to either buy a certificate specifically for this subdomain, or you must use a free provider to create and install a new certificate. – LPChip – 2019-04-02T08:50:45.820

Answers

0

Certificates are issued or configured per subdomain, unless they are specifically told be a wildcard certificate.

So a certificate for www.example.com will not work for example.com, nor for test.example.com

If you want the certificate to work for any subdomain, including www, you'd need to issue one for *.example.com

Luis Alberto Barandiaran

Posted 2019-04-02T05:35:48.957

Reputation: 225