When it comes time to add custom error pages within your cPanel web hosting account, the process is fairly easy. Simply follow the step-by-step web hosting guide that we have outlined below:
- Login to your cPanel web hosting account
- Locate the section that is called "Logs"
- Click on the icon that says "Error Pages"
After you have these cPanel web hosting pages created, you'll either have to create an htaccess file within your cPanel web hosting /public_html/ directory with the following lines or add the following lines into your existing htaccess file.
For custom 404 error page:
ErrorDocument 404 /~cpanel_username/404.shtml
For custom 500 error page:
ErrorDocument 500 /~cpanel_username/500.shtml
By doing the aforementioned steps, this will provide customers with customized cPanel web hosting error pages, instead of the bland default ones.
If you have any further questions, please feel free to get in contact with your cPanel web hosting support team for further assistance.