Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a wildcard (* SSL certificate installed on my CPanel server. I have configured to point to / as its document root and use this wildcard SSL certificate. I also have configured to point to / as its document root. Btw, I have not explicitly configured configured to use the wildcard SSL certificate.

When I go to "" it goes to the correct document root, however my problem is that when I go to "" it goes to the incorrect root, it goes to the root configured for the wildcard SSL. I've been trying to find information on how to go about configuring to use the SSL certificate and go to the correct document root, however, so far I haven't found anything concrete. Do I use the same steps that I used for configuring the certificate for, but use the same certificate again and specify as the domain that this certificate is for (instead of * Or is there something else I should be doing?

This is a production server, so I don't want to play around too much. I'm hoping to find the correct information before proceeding.

share|improve this question

1 Answer 1

It was a long time ago I worked with cPanel, but I will try to answer the best I can. If someone else has something to contribute to this post - feel free to edit.

According to a blog post OpenSSL prevents multiple SSL virtual hosts on a single IP address. You can either use mod_rewrite or follow a possible solution laid out in the blog post.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.