I have a wildcard cert installed on my site *.pcgcp.ca which works beautifully, but when I go to my subdomain store.pcgcp.ca with HTTPS it shows the content of the main pcgcp.casite. I have contacted my host (it's a Bluehost shared hosting account) several times but every time they have no clue.

I tried disabling the .htaccess but I get the same problem. I also tried clearing cache, checking databases and files, and I have even tried this with subdomains that don't exist; still it shows the main site content.

I can't seem to find the problem. What can I do?

  • What's your server setup: dedicated, VPS, hosting-only? Nov 10, 2015 at 0:01
  • @AndrewLott it is just hosting-only
    – PCG--CP
    Nov 10, 2015 at 2:19

2 Answers 2


As a hosting-only plan, it's unsurprising that your server is set to display the same content for all subdomains of a primary domain. You're paying for space to host a website, not multiple websites.

You could try some fancy .htaccess rewrite rules and return different content for different subdomains, but you may fall foul of your hosting contract if they notice, and that could leave you with zero websites.

Your safer bet is probably to contact your host and ask them to configure this for you (it would be at the Apache config level, below the level you can access) or set up a second hosting account for the second website.

On a side note, perhaps you could look into hosting your store as a subdirectory instead of a subdomain. This would allow everything in one hosting account, and give the SEO benefit of building up one website for search engines to crawl instead of splitting your resources.


Try this in the htaccess code file in your roots folder

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R=302,L]

If that doesnt work then purchase a dedicated IP address from your hosting provider as hosting-only means you are using a shared IP address and therefore you are not allowed to use Wildcard SSL's or HTTPS'S. Sorry for the inconveniance.

  • I know the wild-card ssl by experience Aug 26, 2017 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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