Article ID: 118735, created on Nov 19, 2013, last review on Jul 20, 2016

  • Applies to:
  • Plesk Automation 11.5


How to move default site content folder or just change default websites location on IIS service node in Plesk Automation?


To move default site content folder (vhosts) to another location, follow this steps:

1) Back up site content

2) Move the contents of the default site folder (vhosts) to the desired location

3) To propagate changes to the PA, following settings have to be altered:

On the IIS service node:

3.1 Change corresponding value in Windows registry, by default it is "C:\Inetpub\vhosts":


3.2 Change plesk_vhosts variable value in System properties > Advanced > Environment Variables > plesk_vhosts


On the Management Node:

3.3 Change corresponding value in psa database on the Management Node:

a. Find IIS node ID using its IP address:

    mysql> select id,ipAddress from ServiceNodes where ipAddress=' ';
    | id | ipAddress   |
    |  5 |  |

b. Find IIS node parameters:

    mysql> select * from ServiceNodeEnvironment where serviceNodeId=5  and name='HTTPD_VHOSTS_D';
    | serviceNodeId | section       | name           | value              |
    |             5 | configuration | HTTPD_VHOSTS_D | C:\Inetpub\vhosts\ |

c. Change `value` to the desired location:

    update ServiceNodeEnvironment set value='D:\\vhosts\\' where serviceNodeId=5 and name='HTTPD_VHOSTS_D';

Search Words


website path

change vhost location

resize web server node disk

default website folder

e0aff7830fa22f92062ee4db78133079 33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF