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

Follow

Comments

4 comments

  • Avatar
    Lev Iurev

    @Enlighten Designs thank you for sharing!

    0
    Comment actions Permalink
  • 0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @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.

    0
    Comment actions Permalink
  • Avatar
    Enlighten Designs (Edited )

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request