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

  • 22 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2020 Temok IT Services. All Rights Reserved.
Positive SSL