Article ID: 302570 - Last Review: November 21, 2006 - Revision: 2.2 How To Configure Custom Error Messaging for Your Web Site in IISThis article was previously published under Q302570 On This PageSUMMARY
This step-by-step guide describes how to configure Internet Information Services (IIS) to send custom error messages instead of the default Hypertext Transfer Protocol (HTTP) error messages. RequirementsThe following items describe the recommended hardware, software, network infrastructure, skills and knowledge, and service packs that you need:
Configure Custom Error MessagesWhen a user attempts to connect to a Web site and an HTTP error occurs, a generic message is sent back to the client browser with a brief description of what happened during the attempt to establish a connection. You can configure IIS to send custom error messages instead of the default error messages by mapping to a file or by mapping to a URL.Adding Custom Error Messages by Mapping to a FileTo add a custom error message by mapping to a file, follow these steps:
Adding Custom Error Messages by Mapping to a URLTo add a custom error message by mapping to a URL, follow these steps:
Enable Detailed Custom Error MessagesIIS features its own set of custom errors that provide more informative or "friendly" feedback than default HTTP 1.1 error messages. These detailed custom error messages are set by default in the Default Web Site in the IIS snap-in.Configuring Detailed Error Messages
| Article Translations
|

Back to the top
