Custom error pages
On ASP webhosting plans, you can set up custom error pages via the web.config file with customErrors or through IIS Manager, e.g. for 404 and 500 errors.
Custom error pages, on ASP webhosting plans, can be configured via the web.config file, as well as set up through IIS Manager.
Example of configuration in web.config:
<configuration>
<system.web>
<customErrors mode="On" defaultRedirect="/fejlside.aspx">
<error statusCode="404" redirect="/fejl-404.aspx" />
<error statusCode="500" redirect="/fejl-500.aspx" />
</customErrors>
</system.web>
</configuration>
Article from the support category: ASP & ASP.NET