There was a problem loading the comments.

How to use Error Pages in cPanel?

Support Portal  »  Knowledgebase  »  Viewing Article

An error page informs a visitor when there is a problem accessing your site. Each type of problem has its own code. For example, a visitor who enters a nonexistent URL will see a 404 error, while an unauthorized user trying to access a restricted area of your site will see a 401 error.

Basic error pages are automatically provided by the web server (Apache). However, if you prefer, you can create a custom error page for any valid HTTP status code beginning in 4 or 5.

- Log into cPanel
- Go to Advance area
- Click on Error Pages
- Select the domain or subdomain for which you want to configure the error pages from the drop down menu.

- Select the error code of which you wish to edit the error page. You can choose from the Common Error codes or you can click All HTTP error codes to see the list of all error codes.

It will open an HTML editor for you in which you can enter the HTML code for the error page you selected. You can also use predefined tag in your code, click on the tag to insert it to the editor.
- Click on Save page

Share via
Did you find this article useful?  

Related Articles

© Softsys Hosting