I have two sites on one IIS 7.5 server and a SSL certificate for *.mydomain.com . Site1 is a wordpress site with the company presentation on it. It goes to the domain www.mydomain.com
Site2 is a our own developed Customer System where our customer can login and watch information about thiere account. It is bound to site2.mydomain.com AND www.mydomain.com/site2
We need both sites to use HTTPS for obvious resons. But I'm unsure how to set up so that site1 one is bound to www.mydomain.com and site2 to is bound to "https://www.mydomain.com/site2" AND "https://site2.mydomain.com". This is simple for HTTP but I'm not able to change what address the binding should listen to for HTTPS/SSL. http should just redirect to https.
Do you please have any explenation to why this doesn't work or suggestions how I should solve it? We would prefer to keep it as 2 different sites in IIS.
Best regards Niklas