Custom 404 Pages
Something I found surprisingly difficult to find on the net is how to add custom 404 pages to your main and sub domains. A lot of people are scared of customising their pages due to the complicated nature of regular expression matching and .htaccess files.
So, what are 404 pages? If you try to browse to a non-existent page, this will cause a 404 error on the server and you will be directed to a 404 page. The problem arises for some when the server redirects your visitor to a 404 page they want to see rather than the one that you want. Take a look at a hostgator 404 page:
Not pretty, is it? This is a clever way for hostgator to make money on your sites and even direct traffic away from your site. Read on to see how to create your own custom 404 page and keep visitors at your site.

