New Feature Announcement: Master Your Email Delivery with the Mail Delivery Center

How to Create Custom Error Pages in cPanel

Error pages play a crucial role in informing visitors about issues when they try to access your site. Each problem has its own status code. For instance, a 404 error appears when a visitor enters a non-existent URL, and a 401 error shows up for an unauthorized user trying to access a restricted area. While basic error pages are automatically provided by the web server (Apache), you can create custom error pages for any valid HTTP status code starting with 4 or 5 using cPanel.

Customizing an Error Page

Follow these steps to create a custom error page:

  1. If your account manages more than one domain, select the domain for which you want to edit an error page from the 'Managing' menu.
  2. Click on the error status code for which you want to edit its error page. If you don't see the desired error status code in the list, click on the 'Show All HTTP Error Status Codes' tab, then select the desired error status code.
  3. Enter a message in the text box. This message will be displayed on the error page.
  4. To display visitor-specific information on the error page, click the appropriate buttons for the information you want to display.
  5. You can enter additional HTML code to further customize your error pages.
  6. Click 'Save' to apply the changes.

By following these steps, you can create custom error pages that provide more helpful information to your visitors when they encounter an issue. This can improve the user experience and keep visitors on your site even when they encounter a problem.

  • 438 Users Found This Useful
Was this answer helpful?

Related Articles

 Connect to your server via SSH

SSH allows secure file transfer and remote logins over the internet. Your connection via SSH is...

 How to force your site to use SSL (HTTPS) using

First of all, you will need to install an SSL certificate to your siteOnce your certificate is...

 How do I change PHP versions, or change my PHP settings / config?

The process of setting your PHP version and the 'variables' (such as memory_limit values) differs...

 How do I install a free SSL via cPanel?

Installing an SSL certificate in cPanel is easy! Best of all, it's free with WebGee!Important:...

 How to send emails in WordPress using the WP SMTP Mail plugin

Instead of using the default PHP mail() function, you can send emails using our SMTP services via...

Powered by WHMCompleteSolution