SSL and Mirrored Domains


#1

I have my website at weddings.foo.com and 2 domains are mirrored to that locations (i.e. www.site.com and www.site2.com both go to weddings.foo.com)

I need my shopping cart at www.site.com/cart (again, it is a mirror of weddings.foo.com/cart) to use ssl.

What name do I need to have on the certificate so it doesn’t give a name mismatch warning?

People go to www.site.com and not weddings.foo.com.

Should I make www.site.com fully hosted and then copy the directory from weddings.foo.com into www.site.com?

thanks!


#2

The site that gets the SSL must be the one you assign a unique IP to, which is required for SSL. So, you just need to pick which domain you want that to be, then proceed from there.

If you have any worries about duplicate content penalties with the search engines, you could change the mirrored domains to redirects.

Also, note that www or non-www matters as well, so be sure to pick the ones you want to stick with (www.example.com or example.com) – or any other subdomain, like secure.example.com.


:stuck_out_tongue: Save up to $96 at Dreamhost with ALMOST97 promo code (I get $1).
Or save $97 with THEFULL97.


#3

So if you want to have a secure certificate for a subdomain of a site you have already set up a certificate on, you must get a separate IP and an additional certificate for each of the subdomains?

ie. https://mysite.com already has an ssl cert. and dedicated IP
new1.mysite.com needs its own IP and cert
new2.mysite.com needs its own IP and cert

at ~$50/year per ssl certificate, this could add up quickly.

I guess I could have all my subdomains redirect to a directory within the secure site like this:
https://mysite.com
https://mysite.com/new1
https://mysite.com/new2

not sure that’s what I’m looking for though…


#4

If you want it to cover all subdomains, you just need the main domain on a dedicated IP, then purchase a wildcard cert, which covers *.domain.com. They’re generally much more expensive than a regular cert, though.


:stuck_out_tongue: Save up to $96 at Dreamhost with ALMOST97 promo code (I get $1).
Or save $97 with THEFULL97.


#5

You’d also have the problem of your subdomains potentially having different IP addresses. I guess you could solve this by getting support to add a wildcard subdomain entry for your domain.

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#6

Hello,

Do you know if it is a requirement to have a fully host website on dreamhost to use SSL ?

Or is it possible to buy SSL certificates for shops domains that are mirrors of the main domain ?

Thank you.


#7

While it is possible to use secure hosting on a mirrored domain, the results are odd — mirrors will use the same certificate as the same domain, which is almost certainly not what you want. You will need to have each site fully hosted to have a separate certificate for it.