• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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