I have an IIS server hosting several websites, like:
example.com
subdomain1.example.com
subdomain2.example.com
I want those websites to be able to use SSL.
If I install the certificate *.example.com
, subdomain1.example.com
and subdomain2.example.com
work well, but when accessing example.com
, Chrome shows a "This is probably not the site you are looking for!" message, as expected.
If I install the certificate example.com
, then the first website work, but two other fail with the same message, as expected too.
What can I do to make both domains work, taking in account that there is only one IIS server with only one IP address?
Note: there is no such a thing as *example.com
certificate, and all three websites will show the same error message.