I have two hard drives in my machine, one is small and I want the site storage to happen on the other, much larger drive. I made the larger drive /home and it shows up in fstab. The ISPConfig install went fine. Is there anything else I need to do?
all the site storage is in /var/www you can simply mount the larger hard drive as that volume. stop the ispconfig service(s) Code: /etc/init.d/ispconfig_server stop copy the existing contents to a new folder (rename it) Code: mv /var/www /var/www2 mount the new /var/www (edit your fstab) Code: mount /var/www ('mount -a' would work as well) copy the old files to the new drive (folder) Code: cp /var/www2/* /var/www/* now verify files copied Code: ls /var/www ls /var/www2 now restart the service Code: /etc/init.d/ispconfig_server start now verify everything is working as it should check it via your browser,etc. now remove the old folder Code: rm -rf /var/www2
well for my setup (the perfect setup on ubuntu 6.06LTS), everything is in /var/www you can verify by doing an ls in either directory, you should see "web1" "web2" etc.
It depends on what you chose during ISPConfig installation. Did you use standard or expert installation mode? Which distribution do you use?
For older ISPConfig versions, everything is stored in /home/www if you choose the standard mode. In newer ISPConfig versions, the location depends on your distribution. For example, for SuSE, it's /srv/www, and for Ubuntu /var/www.