How to Create A Custom Error Page


Error pages inform visitors if there is a problem when they access your site. Each problem has its own code (for example, 404) and error page.

The web server automatically provides basic error pages. In addition to this, cPanel allows you to define custom error pages for any HTTP code.

Edit an error page

To customize an error page, perform the following steps:

  1. Click the error code for the page you wish to edit.
    • If you do not see the error code for the page you wish to edit, click the Show All HTTP Error Status Codes tab.
  2. Enter a message in the text box.
    • You can select certain HTML tags to add to a custom error page. These tags will display information about the visitor who accessed your site on the error page.
    • You can key in the HTML code to further customize your error pages.
  3. Click Save.