For cPanel & WHM version 66
(Home >> Advanced >> Error Pages)
Error pages inform visitors about problems when they attempt to access your site. Each problem has its own status code (for example, 404) and error page.
The web server automatically provides basic error pages, but the Error Pages interface allows you to define custom error pages for any HTTP status code.
To customize an error page, perform the following steps: