• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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