The changes made in Web Server Settings in a service plan are not applied to existing subscriptions

Created:

2016-11-16 13:06:45 UTC

Modified:

2017-08-08 13:35:47 UTC

0

Was this article helpful?


Have more questions?

Submit a request

The changes made in Web Server Settings in a service plan are not applied to existing subscriptions

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Apache/Nginx directives defined under Service Plans > Default Domain > Web Server is not applied to the existing subscriptions associated with the Service Plan. Even after synching the Service Plan with with its subscriptions.

However, the newly created subscriptions associated with the Service Plan get these directives.

Cause

This is by design behavior.

According to documentation, additional directives are not propagated to existing subscriptions: Web Server (service plan only) includes web server configuration settings that are applied to newly created domains ().

Note: Web server settings can also be changed for each domain individually. Changes on the service plan level do not override custom settings of existing domains. Therefore, the changes you make in Service Plans > select a plan > Web Server take effect only for newly created domains (https://docs.plesk.com/en-US/12.5/administrator-guide/appendix-a-properties-of-hosting-plans-and-subscriptions/web-server-apache.72120/).

Resolution

The following documentation describes this functionality:

Properties of Hosting Plans and Subscriptions

Web Server (Apache)

Custom code can be automatically applied to existing websites using a bash script which creates/updates vhost.conf files in /var/www/vhosts/system/example.com/ .

Have more questions? Submit a request
Please sign in to leave a comment.