IIS Architecture
Cheat sheet · https://pcornel.dk/topic.php?topic=3354
Answer
IIS architecture has HTTP.sys in the kernel receiving requests, the Windows Process Activation Service and W3SVC managing worker processes, and application pools with w3wp.exe running sites and modules.
Remember
- HTTP.sys in the kernel receives requests first.
- WAS and W3SVC start worker processes per application pool.
- Modules process each request in a pipeline.
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
HTTP.sys → WAS → w3wp per pool → modules → response
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=3354