Casbay Knowledge Base

Search our articles or browse by category below

HOW TO: Create custom error pages in cPanel

Last modified: September 30, 2022
You are here:
Estimated reading time: 1 min

Why Use Custom Error Pages?

When an error occurs on a website, an default error page will be displayed by the web server to give out the error messages like 404 (Not found) or 500 (Internal server error). The downside of generic/default error pages is that they are lack of information. And worse, these error page will take the visitor away from your website. This guide will show you how to set up custom error pages using cPanel.

How to Create Custom Error Pages in cPanel

  1. Firstly, login to cPanel.

  2. Secondly, click Error Pages under Advanced section. Select the domain for which you will add a custom error page if you have multiple domains in cPanel.

  3. Click one of the error code links to create a page for that specific error.

  4. Then, you will be taken to a page editor. Add page code, header and body tags to customize your page.

  5. Place your cursor inside the <body> tags and click a tag link to insert the variable code.

  6. Lastly, click Save when you’re finished.

We hope this article helped you to learn about how to create custom error pages in cPanel. For more articles, please go to Knowledge Base.

Was this article helpful?
Dislike 0
Previous: HOW TO: Set Email Forwarding in cPanel
Next: HOW TO: Add a Addon domain in Plesk