Custom Error pages can be created via cPanel or through .htaccess file. Please follow the instructions below.
Create Custom Error pages via cPanel
Step 1. Log in to the cPanel.
Step 2. Click on Error Pages under Advanced panel.
Step 3. Choose on the domain name you want to apply the error pages for.
Step 4. Click on what Error page you want to edit. You may choose on the suggested common error pages or check all the HTTP Error Status Codes to see the full list.
Step 5. Insert the html code in the space provided.
<p>insert custom error message here</p>
Step 6. Click on Save button to save the changes.
Create Custom Error pages using .htaccess file
Step 1. Open a notepad or any computer word editor. Use the sample codes below, save as .htaccess and upload into the directory where the domain name is currently pointed. Or if you already have a .htaccess file being used by the website, you may use the codes below.
ErrorDocument 400 /bad_request.html
ErrorDocument 401 /authorization_required.html
ErrorDocument 402 /payment_required.html
ErrorDocument 403 /forbidden.html
ErrorDocument 404 /not_found.html
ErrorDocument 405 /method_not_allowed.html
ErrorDocument 406 /not_acceptable.html
You can add more of the custom error pages or just use the most common ones – depends on your needs. Please make sure that all files are uploaded in the correct directory.
Do not hesitate to contact our support team if you have further questions.