• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff 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