Difficulty: Easy
Correct Answer: The user receives a 404 – File Not Found error
Explanation:
Introduction / Context:
Internet Information Services (IIS) 5.0 can run multiple sites on the same IP/port using host headers. When a specific site is stopped, IIS no longer serves content for that host header. Understanding the HTTP status returned in this condition helps troubleshoot user reports and confirms whether the site state, permissions, or content is at fault.
Given Data / Assumptions:
Concept / Approach:
When IIS receives a request for a host header that maps to a stopped site, IIS cannot route the request to an active application context. Rather than redirecting, IIS returns an error indicating the requested resource cannot be found. In IIS 5, this typically surfaces as HTTP 404 for that host header request, differentiating it from permission errors (403.x) or application errors (500.x).
Step-by-Step Solution:
Verification / Alternative check:
Use IIS Manager to confirm site state. Start/stop the site and repeat the request; observe 404 when stopped and 200 OK when running.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing a 404 due to a stopped site with a 404 due to missing files; always check site state first.
Final Answer:
The user receives a 404 – File Not Found error
Discussion & Comments