Bindings
Cheat sheet · https://pcornel.dk/topic.php?topic=3356
Answer
IIS bindings define how requests reach a site: protocol (http or https), IP address, port and host name. HTTPS bindings also select a certificate and can use SNI so many sites share one IP.
Remember
- IP, port and host header together select the site.
- SNI lets several HTTPS sites share one IP with different certificates.
- Two sites with the same binding cannot both start.
First checks
Get-Website— sites, state, bindingsGet-IISAppPool— application pools and stateGet-WebBinding— bindingsGet-ChildItem IIS:\SslBindings— certificate bindingsGet-Content C:\inetpub\logs\LogFiles\W3SVC<id>\*.log -Tail 20— request log
Verify in this order
request host/port → matched binding → site
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3356