I currently need to have 2 subdomains under the same domain under SSL.
Both subdomains (www and affiliate) are on the same IIS server, under the same IP, and each one has specified a host header value (www.mydomain.com and affiliate.mydomain.com)
The first subdomain (www), which is the default, works great, with and without SSL.
The second subdomain works perfect under HTTP.
The problem is that I just purchased and installed the SSL certificate for the affiliate subdomain, and when you go to https://affiliate.mydomain.com, you get redirected to http://www.mydomain.com
I'm guessing the problem lies in the fact that I can't specify a host header value for SSL? (the dialog where I normally set the host header value doesn't have that option in the bottom part, dedicated to SSL).
What can I do about this? Should I have each subdomain in a separate IP? Is this not doable at all?
Thanks! Daniel
So, securing every subdomain is imperative. But the good news is, you don't have to buy separate SSL certificates for all your registered subdomains. A single wildcard certificate can secure your primary domain and all your first-level subdomains.
SSL certificates can secure main domains, subdomains, and multi-level domains.
A wildcard SSL certificate encrypts unlimited subdomains on the same level.
Each domain name can have up to 500 subdomains. You can also add multiple levels of subdomains, such as info.blog.yoursite.com. A subdomain can be up to 255 characters long, but if you have multiple levels in your subdomain, each level can only be 63 characters long.
"I'm guessing the problem lies in the fact that I can't specify a host header value for SSL"
You guessed right. You will need two IP addresses.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With