<customErrors mode="On" defaultRedirect="YourErrorPage.html"> <error statusCode="404" redirect="FileNotFound.html" /> </customErrors>
Login to post response