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
-
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
- Modify default template for "error_docs"
- 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.