Pcornel
Browse topics
Options
Recent
Favorites
Web Infrastructure · Technical reference

IIS Architecture

Direct 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.

When to use this

Use this to understand where an IIS request can fail.

First 30 seconds

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.

Operational verification

HTTP.sys → WAS → w3wp per pool → modules → response

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Microsoft Windows
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Windows
Scope / prerequisiteUse this to understand where an IIS request can fail.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • HTTP.sys in the kernel receives requests first.
  • WAS and W3SVC start worker processes per application pool.
  • Modules process each request in a pipeline.
Key checks
  • Get-Website — sites, state, bindings
  • Get-IISAppPool — application pools and state
  • Get-WebBinding — bindings
  • Get-ChildItem IIS:\SslBindings — certificate bindings
  • Get-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.

ComponentRole
HTTP.sysListener, TLS, kernel cache, request queues
W3SVCConfigures HTTP.sys from IIS config
WASProcess activation and health
w3wp.exeApplication pool worker

503 Service Unavailable often means the application pool is stopped (rapid-fail protection after crashes).

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docMicrosoft Windows current

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%
Terminology layer

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.

Aliases that resolve here
iis architecturehttp.syswas service
Confirmation

Confirm action

Continue?