• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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