Setting alternate directory path location of the vhost per Domain or service packet
At the moment it is not possible to change or choose the vhost path for a domain. Every Domain is installed in the standard vhost path, at example /var/www/vhosts
If someone has a Server with attached fast and slow storage or big and small storage, it should be possible for the administrator to choose between them when installing a new Domain. It could be possible to give a customer service packages with faster storage for mission critical domains or giving him a lot of space for another domain located on disk drives mounted to another location.
At the moment you can change default vhosts location in Plesk using the command-line utility transvhosts.pl
Just check available options with
plesk bin transvhosts.pl —help
Changing vhosts directory location for part of domains is impossible now.
Anyway thank you for your input. We will consider this functionality in upcoming releases, if it will be popular.
Everyone, please continue voting for this feature if you consider it important.
And change storage for customers easely, if they need more…
Plesk Tech Support commented
I want to achieve "a better use of the capacity from the storage" by setting multiple default virtualhost locations. ie:
HTTPD_VHOSTS_D as /var/www/vhosts/ in /etc/psa/psa.conf
But several ones,
Francisco Panis Kaseker commented
Sorry, but this is critical. In cloud solutions you can manage the disk size, but baremetals have restrictions. cpanel fofer /home, /home2, /home3 etc solution. I know I can manually bind certain directories to other storages, but non sysadmin users can not move certain vhosts to another storage without know command line stuffs. and even cloud has restriction per volume, so sometimes you need to add more volumes.
definitely this feature is a must have for long term.
Need this feature for scaling server.
Francisco Panis Kaseker commented
this is a very important feature. it will helps to scale the bare metal server and at the same time we can provide low storage performance to certain customers and high storage performance for premium users.
Our dedicated server has multiple disks (SSD and HDD), it's very necessary feature for us.
That's will be indeed really useful for added volume like we can do on DigitalOcean. The competition is much more advanced than us on this topic and this is really used by the expert community when we see the forums. So, for us we still need to mount the disk (additional volume) by changing the main filesystem volume by extending it with the additional volume, which is really critical for non-expert people.
I will not say "if people don't vote for this means our community doesn't need it", because before to choose your solution I was looking for this feature and all forums and people simply redirect us to the competition as this like this since years now.
So, people will not come here to ask for this feature, most of them will simply move to another service.
I finally chose Plesk because of other features, but definitely this feature is a must have for long term.
Júbilo Estudios commented
Cpanel does have a feature where if you mount your additional disk under /home2, it will start saving accounts there if the main disk (/home) gets full.
The idea is: Use 2 Vhosts or more with different drives with Plesk.
Please allow us to add a vhost alias domain that uses a custom chosen folder (from a completely other domain) but can be attached to another subscription/customer.
This would enable us to allow mail and dns configuration by several different customers but attach the web folders to a common/central website engine that rewrites requests based on the visiting domain.