Search Engine: Elastic

Article ID: 128080, created on Jan 17, 2016, last review on Apr 12, 2016

  • Applies to:
  • Plesk Automation 11.5


Website throws 503 error:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


Domain configuration file /etc/httpd/conf/plesk.conf.d/vhosts/ has the mod_rewrite rule defined:

 <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{ENV:REDIRECT_STATUS} !=503
    RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|ico|css)$ [NC]
    RewriteCond %{REQUEST_URI} !robots\.txt$ [NC]
    RewriteRule ^ - [L,R=503]

The rule makes the webserver throw 503 error in case one of the conditions is met.

Additional information about the mod_rewrite is available on Apache website.

By default the rewrite rule is being added to configuration file if domain was suspended. The most probably, the domain was not properly enabled (enabled with errors) so that rewrite rule remained in it's configuration file.


Rebuild the webserver configuration file for that domain. Execute the following command on management node:

# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain

If the command above does not help:

  1. Redefine or remove the rule from the configuration file.
  2. Reload the webserver configuration:

    service httpd reload

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF