Subdomain showing SSL but not on main domain

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.sparshclinicranchi.com

I ran this command: certbot certonly --apache

It produced this output: certificates generated and installed.

My web server is (include version): Apache 2.4

The operating system my web server runs on is (include version): Cent OS 7.6

My hosting provider, if applicable, is: Hosting24

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): not sure

2 Likes

Hi,

I can open both your www and main (apex) domain without any issue. Is it might be browser cache related?

Thank you

3 Likes

Hi thanks for reaching out so quickly,

Actually there was another vhost configuration present in ssl.config file inside /etc/httpd/conf.d/ssl.conf file.

It's named as default ssl and was conflicting with the self generated certificate.

So I removed the whole tag in that file.

Restarted the server and now it's all good.

I write this whole thing as others having the same issue as me can resolve the issue as well.

Thanks

4 Likes

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