How to change virtual hosts location in Plesk for Linux

IF you want to change virtual hosts location in plesk for linux. Please check below article for assistance.

CHANGING PLESK VHOSTS DIRECTORY FROM /var/www TO /home/var/www

CREATE DIRECTORIES

mkdir -p /home/var/www

rsync -avz /var/www /home/var/www
/usr/local/psa/bin/transvhosts.pl --dest-dir /home/var/www --correct-scripts

 

reference: https://support.plesk.com/hc/en-us/articles/213367009-How-to-change-virtual-hosts-location-in-Plesk-for-Linux

Was this answer helpful? 22 Users Found This Useful (22 Votes)