Dynamic Subdomains Wildcard SSL

Impert

Registered
Mar 21, 2016
3
0
1
Miami
cPanel Access Level
Website Owner
I have a similar problem to the one described here:
Dynamic Subdomain SSL Issue

I have a shared hosting bluehost account with dedicated IP and with 2 different certificates for 2 different domains
domain1.com Has had SSL certificate installed for a few months
domain2.com Just purchased and installed a wildcard SSL certificate. This domain is a WP Multisite installation with a wildcard name record that allows me to create a wordpress site with its own subdomain

Even though there's 2 different certificates on the same hosting account, they both seem to work separately. However they don't work for any of the subdomains of domain2.com but in a funny way what it does is whenever you try to access subdomain.domain2.com over HTTPS it redirects you to domain1.com

I've contacted bluehost support and they were just as confused as i was and just directed me to this page Wildcard SSL Certificates But changing my httaccess to those rules broke my site getting Internal Server error

I don't access to WHM or server configurations

I can supply the real domain names so you can see for yourself if required

Appreciate any help that you guys could provide
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

Could you clarify if you are installing the wildcard SSL certificate for each individual subdomain? This is required, as each subdomain has it's own VirtualHost.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
It is a wildcard SSL certificate that says it covers domain2.com and any subdomains *.domain2.com
That's correct, however you must still install the same SSL certificate for each individual subdomain. For instance, try installing the wildcard SSL certificate for one of your specific subdomains and see if the issue persists for that particular subdomain.

Thank you.
 

wence

Registered
Mar 27, 2016
1
0
1
Illinois
cPanel Access Level
Website Owner
I have the same issue and tried to install the same SSL but it will automatically pull the info of the previous installation, the one with *. so there is no way to input the subdomain name.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I have the same issue and tried to install the same SSL but it will automatically pull the info of the previous installation, the one with *. so there is no way to input the subdomain name.
When installing the SSL certificate for the subdomain, you should first browse to the "SSL/TLS" option in cPanel. Then, click on the "Manage SSL Sites" option. Click on "Browse Certificates" and choose your wildcard certificate so that certificate data is populated in the open fields. Then, change the domain name field to the specific subdomain you are installing the wildcard certificate on and proceed to click on "Install Certificate". This process completed successfully on a test server.

Thank you.