Custom error pages

Error pages are determined by the HTTP

You can add custom error pages by logging into cPanel and selecting the the "Error pages" under "Advanced". From you you can add custom error pages in HTML and SHTML form.

You can also have custom error pages by simply modifying the .htaccess file in your account with the following:

ErrorDocument 403 /403.html
ErrorDocument 404 /404.html

That would redirect anyone who received a 403 or 404 to /403.html or /404.html.


Example Error Codes (Full list)

400 - Bad Request
401 - Authorization Required
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
406 - Not Acceptable (encoding)
407 - Proxy Authentication Required 
408 - Request Timed Out
409 - Conflicting Request
410 - Gone
411 - Content Length Required
412 - Precondition Failed
413 - Request Entity Too Long
414 - Request URI Too Long
415 - Unsupported Media Type
500 - Internal Server Error
501 - Not Implemented
502 - Bad Gateway 
503 - Service Unavailable
504 - Gateway Timeout505 - HTTP Version Not Supported

  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Accessing SpamExperts and creating separate SpamExperts users

All cloud web hosting, semi-dedicated, and reseller hosting services include enterprise level...

Adding an IP or port to a whitelist

Our default firewall rules allow most applications/software to run without issues on our shared,...

Adding or Editing your DNS Zone Records (A,AAAA,CAA,CNAME,DMARC,M...

Any website hosted through Hawk Host which is using Hawk Host's nameservers (nsX.hawkhost.com)...

Cloudflare cPanel Deprecation Notice June 15 2022

Unfortunately Cloudflare has formally announced the deprecation of their cPanel plugin, as a...

cPanel "Email Deliverability" interface shows PTR/rDNS error

When checking the "Email Deliverability" interface in cPanel it may show a PTR/rDNS error which...