How to Set Up Custom Error Pages in cPanel
When a visitor encounters an error on your site - such as a missing page (404) or an access denied message (403) - they see a default server error page. With cPanel's Error Pages tool, you can replace these with custom pages that match your branding and provide helpful guidance to visitors.
Setting Up a Custom Error Page
- Log in to cPanel at
yourdomain.com/cpanel. - Go to the Advanced section and click Error Pages.
- Select the domain you want to customize from the dropdown menu.
- Click on the error code you want to customize (e.g., 404 Not Found).
- Edit the HTML content for that error page in the text editor provided.
- Click Save.
Common Error Codes to Customize
- 400 - Bad Request
- 401 - Unauthorized (login required)
- 403 - Forbidden (access denied)
- 404 - Not Found (most common)
- 500 - Internal Server Error
Tips for Effective Error Pages
A good custom error page should:
- Clearly explain what went wrong in plain language.
- Include your site's navigation or a link back to the homepage.
- Offer a search box or contact information for further help.
- Match your site's branding so visitors know they're still on your site.
You can use cPanel's built-in variables like to display the URL the visitor tried to reach.
If you need help setting up custom error pages on your dotCanada account, please contact our support team.
100% Satisfaction Guarantee
We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.
Ready to Get Started?
Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.
Get Started Today
