Use the Add Custom Error Page and Edit Custom Error Page dialog boxes to configure IIS to return a custom error message whenever a specific HTTP error occurs.
UI Element List
Type the HTTP status code (and optional sub-status code) to which the custom error page applies.
Insert content from static file into the error response
Select this option when the error page should include static content, such as from an HTML file. In the corresponding File path box, type or browse for the physical path of the static file.
Opens the file menu from which you can browse for the static file.
Try to return the error file in the client language
Select this option when the error should be returned in the client language (if possible). When you select this check box, click the Set button to configure the path.
Opens the Set Localized Custom Error Path dialog box from which you can configure the path of localized error files.
Execute a URL on this site
Select this option when the error page should include dynamic content, such as from an ASP file. In the corresponding URL (relative to site root) box, type the relative path to the custom error.
Respond with a 302 redirect
Select this option when you want the client to be redirected to a different URL. In the corresponding Absolute URL box, type the full URL to which the client is redirected.