How do I make custom 404, 403, etc, error pages?
First, create the HTML page which will replace the standard Apache error message (for example: 404.html, 403.html, etc). If you haven’t already created an .htaccess file, open a text editor, such as NOTEPAD, and create a file called “.htaccess”. For each error you wish to customize, add a line to your “.htaccess” File: ErrorDocument 404 /404.html NOTE: The path to the file may vary slightly if you’ve put the 404.html file in a different folder/directory. The table below shows common server status codes and when they might occur.