• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Domain suspedend, but still online?

Hoansu

New Pleskian
When a doman or subscription is suspended, it has no effect on the fly. The domains are still online. It takes a while until the command it has effect. What can i do to suspend domains or subscriptions immediately?
 
That is not possible. When you suspend a subsription, a rewrite-block is added to httpd.conf:

<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]
</IfModule>

This leads to the 503 page. But this new block must be loaded into the Apache configuration. That is happening when a graceful or full restart is executed. That reload or restart is executed after the configured server restart interval has expired. For that reason you need to wait a while until the new setting is applied. However, if you reload/restart Apache manually, the setting will be read immediately and applied.

When you do not see a change in your browser it is probably for the reason that a cache is still delivering the previous page content. As you can see, there are some conditions ahead of the rewrite. It is only applied if the file does not end on an image extension and is not robots.txt. This shall ensure that the suspension is search engine friendly.
 
Back
Top