How to change virtual hosts locations in Plesk for Linux

    Posted in Plesk Control Panel on Jan 26, 2019

    In Plesk for Linux, transvhosts.pl utility can be used to change the location for all virtual hosts:

    # /usr/local/psa/bin/transvhosts.pl --help

    In the following example, the location is changed to /home directory:

    # /usr/local/psa/bin/transvhosts.pl --dest-dir /home --correct-scripts

    /home is the new location which you want to set. You can define the location as per your requirement.