A SERVICE OF

logo

Serving Your Customers 173
To configure Plesk’s web server to show custom error pages for a domain:
1 Switch on support for custom error documents through Plesk.
1. Click the Domains shortcut in the navigation pane.
2. Click the required domain name in the list.
3. Click Setup.
4. Select the Custom Error Documents check box.
5. Click OK.
2 If you access Plesk remotely, connect to your FTP account on the
Plesk server, and go to the error_docs directory. If you access
Plesk locally, go to the directory /vhosts/your-
domain.com/error_docs/.
3 Edit or replace the respective files. Be sure to preserve the correct file
names:
400 Bad File Request - bad_request.html
401 Unauthorized - unauthorized.html
403 Forbidden/Access denied - forbidden.html
404 Not Found - not_found.html
405 Method Not Allowed - method_not_allowed.html
406 Not Acceptable - not_acceptable.html
407 Proxy Authentication Required -
proxy_authentication_required.html
412 Precondition Failed - precondition_failed.html
414 Request-URI Too Long - request-uri_too_long.html
415 Unsupported Media Type - unsupported_media_type.html
500 Internal Server Error - internal_server_error.html
501 Not Implemented - not_implemented.html
502 Bad Gateway - bad_gateway.html
4 Restart your web server or wait for a few hours till your web server is
restarted. After that, the web server will start using your error
documents.