Articles in this section

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

kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux

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. Click on the drop-down menu (three vertical dots on the right side of a domain name)
  3. Click 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

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

Additional Information

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

Was this article helpful?

Comments

3 comments
Date Votes
  • This does not work.  A suspended domain uses a "503 Service Unavailable" not "service temporally unavailable". So it is not the maintenance.html page that is shown.  It's the image I've attached.

    How do we change that? The way it is now it looks like there is a server problem when it's a suspension of the client for non-payment (or otherwise).

     

    1
  • Same issue here, we need to show our customers that the service is "SUSPENDED", with this message its seems like the service is not working because a server failure...

     

    Regards

    Emmanuel

    0
  • Solution proposed does not work.

    0

Please sign in to leave a comment.