How to set up custom error pages

September 26th, 2006


Q: How do you set up custom error pages?

A: It depends on the web server software. On Apache, you add a line to your configuration file like so:
ErrorDocument 404 /error.html
On Microsoft IIS, first youâ??d go to “Properties” under your website, then select “Custom Errors”, then error code 404, and then “Properties” and finally you’d specify which file is your custom error page.