Error Pages

Custom Error Pages (Cpanel)

 

Creating an Error Page (Cpanel)

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.

Common Problem: Incase You may not be able to see your customized error page & are seeing the default error page than please try refreshing your browser.

Tip: If you wish to show your visitors your site's home page instead of seeing the "404 error page: you can put the following code in your .htaccess

ErrorDocument 404 /index.html

*Change the / onwards to where you want your visitor to be taken to.

Error Pages Types

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

Reverting Back to Default Error Page (Cpanel)

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

 

We trust the preceding article proved valuable to you. If you found it beneficial, kindly show your approval with a thumbs up!

Technical Support,
MAGMA3C

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

.htaccess Guidance

.htaccess guidance   .htaccess guidance .htaccess is a special Apache file that tells your...

Add a MySQL Database in cPanel

Add a MySQL Database in cPanel A database is an organized collection of data, stored and...

Adding a Cron Job in Advanced mode

  Adding a cron job in advanced mode   Cron jobs allow you to automate certain commands or...

AWS stats explained

We trust the preceding article proved valuable to you. If you found it beneficial, kindly...