I have a domain that we will call www.mydomain.com for reference. I have a subdomain on m.mydomain.com for people who want to view the website through their mobile devices. My users are registered on this site, so I would like to protect their credentials, if possible. Because of this, I have acquired an SSL certificate.
I am not a guru of SSL certificates, so I can misunderstand something. I thought that I could have one SSL certificate for my domain. However, when I try to access https://m.mydomain.com , I redirect to https://www.mydomain.com instead of viewing the contents of http://m.mydomain.com . In other words, here is a list of my configurations and results from IIS 7:
Site Name Binding Type Host Name Port IP Address Result via Browser --------- ------------ --------- ---- ---------- ----------------------------------- MySite http 80 ww.xx.yyy.zz http://www.mydomain.com works fine MySite https 443 ww.xx.yyy.zz https://www.mydomain.com works fine MyMobileSite http m.mydomain.com 80 ww.xx.yyy.zz http://m.mydomain.com works
My first guess was to add a new https binding to MyMobileSite on port 443. However, in this process, I noticed that I was asked to choose an SSL certificate. I am worried that if I select the SSL certificate associated with MySite, it will break this binding. Once again, I do not fully understand SSL certificates. Can I use the same SSL certificate on multiple IIS sites and multiple binding if they use the same domain? Can I continue and create the binding as I thought? My main concern is that Iβm breaking something and I canβt cancel it.
Thanks!
source share