Custom Error Pages

To create a custom error page for 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 default error pages, try refreshing your browser (ctrl + F5). If you still see the error 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

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

There are many error pages which may be defined.

Client Request Errors
400 - Bad Request
401 - Authorization Required
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
406 - Not Acceptable (encoding)
407 - Proxy Authentication Required
408 - Request Timed Out
409 - Conflicting Request
410 - Gone
411 - Content Length Required
412 - Precondition Failed
413 - Request Entity Too Long
414 - Request URI Too Long
415 - Unsupported Media Type

Server Errors
500 - Internal Server Error
501 - Not Implemented
502 - Bad Gateway
503 - Service Unavailable
504 - Gateway Timeout
505 - HTTP Version Not Supported

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

File Permissions (chmod)

How to change permissions (chmod) of a file Permissions can be very important when it comes...

Add Remove a Cron Job

Cron Jobs run scheduled tasks at specific times. This is good to set up automated backups and or...

Add Remove a Mysql Database

Create: If you are using any type of PHP software or keeping a collection of records which need...

Create Addon Domain

Note: You may not be able to create an Addon Domain if you do not own the domain name, or if your...

File Manager

There may be times when you wish to create, edit, or delete a file or folder in your account. You...

Powered by WHMCompleteSolution