Skip to main content
Detailed information about specific HTTP request errors is intended to help local administrators resolve errors as they occur. In certain cases, such information may identify the application, thus posing a security threat. You can set up IIS to display detailed information only for local requests and have remote requests redirected to custom error pages. To disable detailed error responses for remote requests in IIS Manager:
1

Launch IIS Manager

Launch IIS Manager.
2

Open the Error Pages feature

Select your website in the tree view and double-click the Error Pages icon on the site home page.
Screenshot of the IIS Manager site home page with the Error Pages icon highlighted.
3

Edit the feature settings

In the Actions pane, click Edit Feature Settings….
4

Select the error-response option

In the Edit Error Pages Settings dialog box, select Detailed errors for local requests and custom error pages for remote requests.
Screenshot of the Edit Error Pages Settings dialog in IIS Manager with the option for detailed errors on local requests and custom error pages for remote requests selected.
5

Save the settings

Click OK.
For more information, see the Microsoft documentation.