Use this to understand where an IIS request can fail.
IIS Architecture
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.
1. HTTP.sys receives requests (netsh http show servicestate).
2. WAS/W3SVC services running.
3. Worker processes per pool (w3wp).
4. Modules and handlers.
5. Logs.
HTTP.sys → WAS → w3wp per pool → modules → response
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Editing applicationHost.config without backup (
appcmd add backup).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- HTTP.sys in the kernel receives requests first.
- WAS and W3SVC start worker processes per application pool.
- Modules process each request in a pipeline.
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
ReferenceWhy it matters1 section · depth on demand
Request flow
1. HTTP.sys (kernel) receives the request and terminates TLS.
2. It routes it to the application pool queue for the site/URL.
3. WAS starts a worker process (w3wp.exe) for the pool if none is running.
4. The worker runs the module pipeline (authentication, static file, ASP.NET, rewrite).
5. The response returns through HTTP.sys.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
IIS request path: HTTP.sys receives the request in kernel mode, matches it to a URL group (binding), queues it for the right application pool; WAS (Windows Process Activation Service) starts w3wp.exe for that pool if needed; the worker process runs the integrated pipeline modules and the application.
| Component | Role |
|---|---|
| HTTP.sys | Listener, TLS, kernel cache, request queues |
| W3SVC | Configures HTTP.sys from IIS config |
| WAS | Process activation and health |
| w3wp.exe | Application pool worker |
503 Service Unavailable often means the application pool is stopped (rapid-fail protection after crashes).
Components
| Component | Role |
|---|---|
| HTTP.sys | Kernel listener, TLS |
| WAS | Process activation |
| W3SVC | Configures HTTP.sys |
| Application pools (w3wp.exe) | Worker processes |
| applicationHost.config | Central configuration |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IIS → IIS Architecture. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/iis/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.