By default, the host header cannot be specified for HTTPS binding under iis7. You can manually modify the IIS configuration to bind the Host header.
Stop the IIS service first.
Then open C:/Windows/system32/inetsrv/config/applicationhost. config
Search for your site name, find a configuration item similar to the following, and modify it accordingly:
<Site name = "web01" id = "3">
<Application Path = "/" applicationpool = "web01">
<Virtualdirectory Path = "/" physicalpath = "E:/web/web01"/>
</Application>
<Bindings>
<Binding protocol = "HTTP" bindinginformation = "*: 80: web1.web.com"/>
<Binding protocol = "HTTPS" bindinginformation = "*: 443:"/>
</Bindings>
</Site>
Find the HTTPS configuration item and change it:
<Binding protocol = "HTTPS" bindinginformation = "*: 443: web1.web.com"/>
Add your domain name and save it after 443.
Start IIS again, OK.