C Panel Account settings

Custom Error Pages

Have you ever received a 404 Page Not Found screen when visiting a web site? If so, you now know what we are talking about when we refer to Error Pages. TCH not only supplies standard error pages, but allows you to customize those error pages.

Modifying .htaccess file

You can modify or add entries to the .htaccess file in order to identify where your custom error pages are located.

For example, if your error page is located at:

/home/mysite/public_html/404.txt then, your entry in .htaccess should look like this: ErrorDocument 404 /~mysite/404.txt

Can't find your error page?

If you look in the error log for your site you'll find the actual pathname that wasn't found. In your cPanel, look under Stats -- that will tell you where to put the error document.

For example:
[Sun Jun 15 01:50:47 2003] [error] [client] File does not exist: /home/something/public_html/404.shtml

You may also have to check the server-wide error log at /usr/local/apache/logs/error_log : [Sun Jun 15 01:49:49 2003] [error] [client] File does not exist: /usr/local/apache/htdocs/404.shtml

Making a better Error Page

Click here for some ideas on how to make a better error page!

Talk with us live about your problems!

Having a web hosting problem and need an answer now? Our web hosting support team is ready to answer your toughest account questions 24/7. Feel free to reach us if you are having a problem or just have a question or two about our services. We are here to help!