Davide
New Pleskian
Hi at all
And really thank s so much for any help is really appreciate
Try to explain on the situation....
I manage a vps with centos 6.9, different isolated domains are configure properly apache + nginx.
Now for space need I took another hdd and mounted it on the partition /mnt/vdb/
So far all right.
Now to retrieve space from the first partition, I wanted to move some site hosted in /var/www/vhosts/site into a new folder in /mnt/vdb/website/httpdocs/site.
I tried in many ways to move the entire account, using the virtual template, I tried to modify them, but in the end I managed to run it 'just' overwritten, thanks to vhost.conf and vhost_ssl.conf
By pointing them documentroot to the /mnt/vdb/website/httpdocs folder, apache now takes the files from them, and I can free the space on the first partition.
Is this a valid solution? Is possible thing move directly an entire apache virtual site management under the new folder? I tried adding a custom template taken from the default, but I did not succeed.
P.S. Always for backup, shuffling every post around (great Igor) I saw that rightly there are those who recommend installing the partition directly into the folder that you need, so to expand it and fix the space problem.
Is it worth doing it? for example, to mount it under /var/qmail/mailnames?
P.S. if it is a good thing, what is the correct procedure to mount the partition without losing the data present in /var/qmail/mailnames?
Thanks really 1000 for every help guys.
Have ever a wonderful day
p.s. excuse my rough english
And really thank s so much for any help is really appreciate
Try to explain on the situation....
I manage a vps with centos 6.9, different isolated domains are configure properly apache + nginx.
Now for space need I took another hdd and mounted it on the partition /mnt/vdb/
So far all right.
Now to retrieve space from the first partition, I wanted to move some site hosted in /var/www/vhosts/site into a new folder in /mnt/vdb/website/httpdocs/site.
I tried in many ways to move the entire account, using the virtual template, I tried to modify them, but in the end I managed to run it 'just' overwritten, thanks to vhost.conf and vhost_ssl.conf
By pointing them documentroot to the /mnt/vdb/website/httpdocs folder, apache now takes the files from them, and I can free the space on the first partition.
Is this a valid solution? Is possible thing move directly an entire apache virtual site management under the new folder? I tried adding a custom template taken from the default, but I did not succeed.
P.S. Always for backup, shuffling every post around (great Igor) I saw that rightly there are those who recommend installing the partition directly into the folder that you need, so to expand it and fix the space problem.
Is it worth doing it? for example, to mount it under /var/qmail/mailnames?
P.S. if it is a good thing, what is the correct procedure to mount the partition without losing the data present in /var/qmail/mailnames?
Thanks really 1000 for every help guys.
Have ever a wonderful day
p.s. excuse my rough english