You can customize your own error pages (for example when a file is not found) instead of using cPanel standard error pages or not having an error page.
You can use custom error pages for any error as long as you know its number (like 404 for page not found) by adding the following to your .htaccess file:
Error pages inform visitors about problems when they attempt to access your site. Each problem has its own status code (for example,
404) and error page.
The web server automatically provides basic error pages, but the Error Pages interface allows you to define custom error pages for any HTTP status code.
These are some of the most common error pages:
401 - Authorization Required
400 - Bad request
403 - Forbidden
500 - Internal Server Error
404 - Wrong page
Login to your cPanel account
Click the Error Pages button, in the Advanced section of cPanel
If you have multiple domains in your cPanel, select it from the Managing menu.
You will see a list of Common Error Codes, click the one you want to create a custom error page for. The available choices are 400 (Bad request), 401 (Authorization required), 403 (Forbidden), 404 (Not found), and 500 (Internal server error). To edit additional error codes, click the Show All HTTP Error Status Codestab.
You will then be on an editor page. You can enter HTML code here, or insert premade tags if you want. Below is a brief description of the available tags.
|Referring URL||Lists the URL you came from.|
|Visitor's IP address||Lists the IP address of your site visitor.|
|Requested URL||Shows the URL you are attempting to access|
|Server Name||Shows the name of the server.|
|Visitor's Browser||Lists the visitor's browser type.|
|Redirect Status Code||This will display the error message code, such as 500, or 404, etc.|
Click the Save button at the bottom when you are finished.