Brinkster Knowledge Base
How do I set a custom 404 error page
You can set custom 404 pages by using a web.config file. It does require a slight change from normal setups, below is the sample:Change the /error.html to match your file you created.
<!-- Web.Config Configuration File -->
<configuration>
<system.webServer>
<httpErrors errorMode="Custom">
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" subStatusCode="0" path="/Error.html" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
</configuration>