πŸ“Š
Plesk

Setting up a Custom Error Page in Plesk

πŸ“… 8 October 2026 ✏️ 8 October 2026 ⏱ 2 min leestijd

Learn step by step how to set up a custom 404 or 500 error page in Plesk, including ready-made HTML and testing tips.

A custom error page replaces the default, bare error message from your server with a page that matches your branding. In Plesk, you set this up via Error Pages for your domain: you upload an HTML file and link it to the desired error code, such as 404 or 500. Below you’ll find out how to prepare, configure, and test this.

Why use a custom error page

Default error pages look generic and give visitors no direction whatsoever. A custom design ensures your brand remains visible even when something goes wrong, and offers visitors a clear next step, such as a link to the homepage or contact page. This prevents people from immediately bouncing off and leaving your site.

Plesk supports this for all common error codes, including 401, 403, 404, and 500, and you can set a separate file for each code.

HTML filePlesk Error PagesVisitor

Preparing the error page

Before you go into Plesk, first create the HTML files for the error codes you want to customize. Commonly used files are:

  • error404.html – page not found
  • error500.html – server error
  • error403.html – access denied
  • error401.html – unauthorized

A simple example for error404.html:

<!DOCTYPE html>

Was dit artikel nuttig?