Own error pages 404, 403, etc.


Sometimes web server visitors request pages that for some reason do not exist on the server: an incorrect link
from another page or from another site, the server owner accidentally deleted the document, and so on.
By default, Apache issues a rather ascetic page with a message like "File not found".


You can create an alternative version of this page by setting the handler for this error via .htaccess.
or in the cPanel control panel.

Go to cPanel
In the "ADVANCED" section, find the icon "Error pages".

There you can change the contents of these error pages through the browser.



  • 400 (Invalid request)

  • 401 (Authentication required)

  • 403 (Forbidden)

  • 404 (Not found)

  • 500 (Internal server error)


And others...