How do I create custom error pages

Error pages are served to Internet users when any one of a variety of errors occur, such as when a user enters an incorrect URL or is not authorized to access a specific directory in your web site. Companies often customize error pages to brand them with a specific corporate image and a link to their home page. You do not have to customize these pages - the error page is always available, whether customized or not.

To create or modify a customized error page:

Click on the Error Pages link under the 'Site Management' header in Cpanel.

Click on the button of the required error page, such as the 404 button.

Enter the HTML code for the error page. You can use the buttons at the top of the page to insert variables into the displayed code.

Example:


404 Not Found


The requested page, ,is not available.

 

 

Click on the SAVE button. Your page for the selected error should now appear as your custom page.

 

Was this answer helpful?

 Print this Article

Also Read

How to move and copy a file

Sometimes you need to move files from one directory to another, or would like to make a copy for...

Changing primary domain name assigned to your package and cPanel

Once a domain is assigned to be the primary domain for the package it is tied to many automation...

How to create files and folders

In order to create a new folder from your File Manager, please go to your www folder and click...

Manage (Setup) Subdomain Redirection

You can easily manage (setup) subdomain redirection using the cPanel interface. What is...

Parked Domains

What are Parked Domains? Parked Domains are really domain pointers that allow you to "point" or...