- Plesk for Linux/Unix
- Plesk 12.0 for Windows
How do I change Virtual Hosts' locations in Plesk for Unix?
In Plesk for Linux, transvhosts.pl utility can be used to change the location for all Virtual Hosts:
# wget http://kb.plesk.com/Attachments/kcs-12467/transvhosts.pl
Make it executable
# chmod +x transvhosts.pl
Run the utility with the "
--help" key to see the available options.
# perl transvhosts.pl --help
Note: If SELinux is enabled, make sure to change the SELinux context on the new destination. See article #115299 for more details.