Learn how to make Custom Error Pages for your website via cPanel. This will let you display custom error messages for the following errors, and many more: 400 (Bad request), 401 (Authorization required), 403 (Forbidden), 404 (Not found), and 500 (Internal server error)
1. Login to cPanel
2. Click Error Pages
3. Create and Edit your error page.
4. Edit your .htaccess file.
5. Add an .htaccess rule to enable your Error Page. Here is the basic formatting for the .htaccess rules:
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
Read more in our full guide: How to Create Custom Error Pages in cPanel https://www.inmotionhosting.com/support/edu/cpanel/create-custom-error-pages
InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about InMotion Hosting and the services we provide see here:
https://www.inmotionhosting.com
1. Login to cPanel
2. Click Error Pages
3. Create and Edit your error page.
4. Edit your .htaccess file.
5. Add an .htaccess rule to enable your Error Page. Here is the basic formatting for the .htaccess rules:
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
Read more in our full guide: How to Create Custom Error Pages in cPanel https://www.inmotionhosting.com/support/edu/cpanel/create-custom-error-pages
InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about InMotion Hosting and the services we provide see here:
https://www.inmotionhosting.com
- Category
- InMotion Hosting
- Tags
- CPanel, Error, How to

Be the first to comment