• 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.

How do i change where the sites are kept ?

N

Nicarlo

Guest
I am running Plesk 8.1.1 and my webhosting company who installed my os made a bunch of partitions and made it so the /vhosts directory ( the directory where all my websites go to )is on my 8 gig partition instead of the 84 gig partition. I would like to switch it to the 84gig partition obviously.

Anyone know a way i can do this ?

thanks!
 
now Im not sure if this will work exactly how you want, but try this. Commands are assuming a RHEL or similar distro, so commands and file locations could be different if your not using RHEL4.

Also make a backup of the file just in case you mess something up, or this doesn't work as you expected and psa gets broken.

I take no responsibility if this doesn't work :)

Go into the psa.conf file
Code:
 nano -w /etc/psa/psa.conf

Find the section
Code:
# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

Change that to the place you want it to be and then restart psa

/sbin/service psa restart
 
hi hosting guy

First id like to thank you for your time and help.

I changed the file you mentioned and when i try to add a physical hosting account i get the following error.

"Error: Unable to update hosting preferences: hosting update is failed: object ID is invalid"

is there something that im forgetting to do ?
 
Are all of the permissions and ownerships set correctly? If you use SELinux, make sure that the ACLs are also set for that.
 
i am using debian os

Which chmod permissions should i be giving the directory ?
 
i checked the permissions and they are all at drwxr-xr-x but still didnt change anything.

:S Any other suggestions?

Thanks a bunch
 
you need to also check ownership of users, groups and ACLs where appropriate.

there maybe something in the psa log files you can check.

beyond that, I'm not terribly sure.
 
Back
Top