Multiple subdomains under IIS7 are configured with https protocol at the same time, but IIS7 supports a single 443 port by default, causing port conflicts;
Solution: First configure different ports for each domain name. Example: 444, 445, 446, etc.
Then find: C:\Windows\system32\inetsrv\config\applicationHost.config
Find
<binding protocol="https" bindingInformation="*:443" /> <binding protocol="https" bindingInformation="*:444" /> <binding protocol="https" bindingInformation="*:445" />
and modify it to:
<binding protocol="https" bindingInformation="*:443:www.domain.com" /> <binding protocol="https" bindingInformation="*:443:www.domain.com" /> <binding protocol="https" bindingInformation="*:443:www.domain.com" />
Remember to correspond to each site All modified.
Then reselect the certificate on the iis site and restart the iis site.
The above is the detailed content of Detailed introduction of how to configure SSL certificate in IIS7 and bind multiple domain names to port 443. For more information, please follow other related articles on the PHP Chinese website!