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
- Click on the drop-down menu (three vertical dots on the right side of a domain name)
- Choose 'Edit error page'
Note: alternatively the same error page can be customized via Domains > example.com > File Manager > error_docs by editing the maintenance.html file
Note: Make sure that error page editing is enabled: The hosting plan provides the option to customize web server error documents (the Custom error documents option 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"
Additional Information
To customize other error pages, follow the instructions from this article.