Error Pages

With this tool you can create custom error pages to display when a user enters a wrong URL, an outdated URL or when the user is not authorized to access a specific directory of your web space.


"Error Pages" consists of the following five types of errors:


  • 400 (Bad Request)

  • 401 (Authorization required)

  • 403 (Forbidden)

  • 404 (Wrong page)

  • 500 (Internal server error)


To customize the error page, you can click on the error page number (400, 401, 403, 404, 500) or the error page name (Bad Request, Authorization required, etc).


When the page loads, you have the following six tags available:


Available Tags


  • Referring URL - Displays the url of the web site the visitor was previously viewing.

  • Visitor's IP Address - Displays the IP address of the visitor viewing the error page.

  • Requested URL - Displays the intended url the visitor is trying to view.

  • Server name - Displays the web site's server name.

  • Visitor's browser - Displays the visitor's browser type such as IE, FireFox, Netscape, etc.

  • Redirect Status Code - This displays the type of code in the 300-307 range. To learn more about Redirection Status Code, visit the WikiPedia web page at


You do not have to use any of the above tags. They are available to you based on your own personal preferences and needs specific to your web site.


You can place any html code or text in the error page specific to your own personal preferences and needs specific to your web site.


Once you have customized your error page, you will notice the "Save as" option text box. The "Save as" option will default to the number you chose with the additional of an .shtml extension. For example, if you chose 400, it would appear as 400.shtml. You can modify this name to code you want. Only modify this to an error that you know will be shown on your web site.


Tip: You can find what error codes are being shown to your visitors by viewing any of the available web site statistical analysis programs built in to cPanel such as Awstats, Webalizer, etc.


Click on the "Save" button.

Was this answer helpful?

 Print this Article

Also Read

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 FTP accounts

To create a new FTP account from the cPanel, please click the FTP Manager icon. Select the FTP...

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...

What are some common error codes

Here is a list of many common error codes:   Succesful Client Requests: 200 OK201...

Addon Domains

What is an Addon Domain? An Addon Domain is similar to a subdomain and created in much the same...