• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Change the /var/www/vhosts dir

bramer

New Pleskian
how can i change the /vhosts dir?

my Plan:
HDD -> Main Ubuntu System
SSD -> /var/www/vhosts

- is this a idea? maybe it is better if the main system on a ssd as well?
 
Use transvhosts.pl utility:

Code:
 plesk bin transvhosts.pl --help
Utility to transfer vhosts content from HTTPD_VHOSTS_D directory to new place.

Usage:
        --dest-dir   <path>  Destination path. Path to new vhosts directory.
                             Example: /path/to/new/vhosts.
                             If directory does not exist it will be created.

        --correct-scripts    Changes user scripts.
                             Old vhost path is replaced to new path in content of all files.
 
This is what i do, but this is not the real answer. Because this change nothing in my system.
I do this. I restart psa, i restart the complete server but he looks always in /var/www/vhosts
 
Please show me how you ran this command and what was its output? Do you have a newly created destination directory?
 
Back
Top