Plesk

How to create custom error page for suspended domain in Plesk?

Question

When a domain is suspended in Plesk a site "503 Service Temporarily Unavailable" is shown. How to create a custom error page for the domain in Suspended status to hide this error?

Answer

  1. Log into Plesk

  2. Customize the error page using the link Edit error page in Websites & Domains > example.com

Note: The link Edit error page is displayed only if hosting plan provides the option to customize web server error documents (the Custom error documents is On in the domain settings in Websites & Domains > example.com > Hosting Settings).

Server-wide solution for new domains

  1. Modify default template for "error_docs"
  2. Open Service Plans > plan_name > Hosting Settings, enable "Custom error documents" as per this article

Additional Information

To customize other error pages, follow the instructions from this article.