I don't find a solution for the following problem. I have lot of website into /var/www folder, now i want change the webpath for /home/sites folder. I change into IspConfig Server Config : see attached file. But it's didn't work, can you help me with a real instruction for move all existing site. Thanks
My understanding is you can not do that. If you are doing this because disk mounted on /var/www is full but disk on /home has free space, you can use bind mount to move all website directories. https://www.howtoforge.com/use_moun...ctory_of_a_ispconfig_server_to_a_new_location
probably more useful for a specific site, or if you only have a few sites, but if you're trying to change the docroot to a subfolder of the standard docroot, eg public, try something like this in the apache directives section of the websites options: DocumentRoot "{DOCROOT}/public" if you're trying to change the whole docroot folder path, just give it the full path instead: DocumentRoot "/home/sites/clients/<clientid>/<webid>/<domainname.tld>/web" i don't recommend trying to change the basedir, i remember seeing somewhere, on here or in the manual, that changing that could cause all sorts of problems, although that could have been the php open basedir setting, my memory isn't what it used to be.
as @Taleman suggested, you could bind mount /home/sites to /var/www in /etc/fstab. i have another drive/partition mounted at /mnt/extdrive1 which contains the folders www and mysql which are bind mounted to /var/www and /var/lib/mysql and didn't change any basedir settings. works perfectly fine.