Portal Home > Knowledgebase > Articles Database > Multi domain SSL setup on cPanel


Multi domain SSL setup on cPanel




Posted by Zaggs, 03-06-2012, 07:37 AM
Hi Guys! I've installed a Multi-domain SSL certificate on my cPanel/WHM server. The certificate installed fine, but now I have a problem. I have currently secured 2 domains on the same certificate. domain1.co.uk domain2.com Now if I type into my browser https://www.domain2.com it redirects back to http://www.domain1.co.uk. I have no idea why this is happening. I've checked the document root etc and all seem to be fine. However if I type in https://www.domain1.co.uk it works fine. Does anyone have any suggestions what could be wrong? Thanks in advance.

Posted by Flavio_GoDaddy, 03-06-2012, 02:08 PM
Hi Zaggs, When installing a multi-domain SSL in cPanel/WHM you will be prompted to set a user, make sure this is set to "nobody" as this value may hold pre-defined values that could potentially change the DNS/hosting settings. Additionally please make sure that the SSL is specifically installed for both domain names. It sounds like the SSL VirtualHosts may only be pointing to the first domain, which is why it would redirect there regardless of which domain is entered. You may need to "Post VirtualHost Include" from cPanel/WHM using the existing VirtualHost definition for your primary SSL. This information can be found in the httpd.conf file. You would then need to replace domain1.co.uk with domain2.com in the information obtained from the httpd.conf file when you post the VirtualHost include. Please note: You are not directly editing or changing your httpd.conf file in any way. If you can provide the domain names you are using I may be able to assist further.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Beachcomber.net DOWN? (Views: 694)
Best Database (Views: 587)
SemoWeb Corporate Site (Views: 649)

Language: