Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
Question
"503 Service Temporarily Unavailable" page is shown if domain is suspended in Plesk.
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).
Additional Information
To customize other error pages, follow this article.
Comments
4 comments
Workaround on IIS:
Edit or create the web.config file and put the following.
<httpErrors>
<error statusCode="503" path="/errorpages/maintenance.html" responseMode="ExecuteURL" />
</httpErrors>
Then create /httpdocs/errorpages/maintenance.html (or copy from /error_docs/maintenance.html) and edit it.
@Enlighten Designs thank you for sharing!
this feature in user voice is not available :( https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/4165937-custom-suspended-page
@Ido Cohen
The link Edit error page is displayed only if your hosting plan provides the option to customize web server error documents. Check that the Custom error documents is On in the domain settings in Websites & Domains > example.com > Hosting Settings.
Please sign in to leave a comment.