You’ve probably seen the standard Apache 404 error page many times, when you’ve visited a Web page that no longer exists:
Not very pretty, is it? It doesn’t help much either. Something like the following would be much more useful:
The second error page looks better, is more friendly, and gives the visitor some more options to try (as opposed to just going to another website!).
In this tutorial we’ll show you how to set up your website to serve your own error page rather than the default Apache one.