Custom Error Pages

What are Custom Pages for Errors?

When your website generates an error, such as a 404, it produces an error page to let the visitor know what issue has occurred. If you would like a list of errors which may be generated as well as more information about what they mean, please check the article below:

On shared hosting these are branded with joudiSoft branding by default, and on a VPS or Dedicated server they are generally blank white error messages. However, you can design these pages to have your own branding or special information to help assist visitors who are experiencing errors.

How do I Create Custom Pages for Errors?

To create a custom page for your errors generated by your account, please login to cPanel and click Error Pages, under Advanced. Select the domain or subdomain you want and click the page you want to edit. Insert your own custom page code (in HTML or SHTML). The changes will be applied after you click Save.

But I don't know any HTML

Never fear. If you use a design program like Sitebuilder, simply publish a page which you would want to use. Next, visit your website online and pull up that new page you want. At the top of your browser, go to View and choose "Source" or "Page Source". Copy everything from the pop-up window (right click, Select All, right click, Copy) and now you can paste where the HTML code belongs.

Afterward, you may want to remove that extra page from your site builder program.


Common problems

If you are still seeing the joudiSoft branded pages, try refreshing your browser (ctrl + F5). If you still see the joudiSoft pages, please add this code to your .htaccess file in the public_html directory:

ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml

You can even use existing pages as the resulting page. Say you don't want any visitors seeing 404 errors on your site. You can make your home page the result, like so:

ErrorDocument 404 /index.html

If Internet Explorer is not displaying the custom page, it is likely because the page must be larger than 1 kilobyte.

There are many error which you may define pages for. For a list of errors you may wish to create pages for, please check out the following article:


How can I revert back to the default error pages?

Simply delete the page from the public_html folder:
404.shtml
403.shtml
500.shtml

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

What Do I Put for the Cron Job Command?

Linux Web Hosting The commands below are compatible with Linux hosting plans only. These...

Directory Listing Denied, This Virtual Directory Does Not Allow Contents to Be Listed

Are you seeing this error message when trying to view your site?   Directory Listing...

Index Manager

The Index Manager can stop people from seeing a list of all your files in a folder (the "Index...

How Do I Create and Delete a Cron Job?

Cron jobs run scheduled commands at specific times. The Cron Jobs tool in cPanel is helpful for...

Using Network Tools in cPanel

One of the most useful tools in cPanel that is often overlooked is the Network Tools function....