I have an AWS EC2 Ubuntu server on that I have installed Virtualmin, after migration many sites I saw my primary partition is only 8 GB and going to full so I have decided to move my site to another partition. I have created a folder name home under /mnt (another disk) after that I used virtualmin option Server Configuration > Change Domain Name > Change home directory? I put my new root directory /mnt/home/site_name here, After save my all folders and files copied to new directory perfectly, but sites not working, it's giving internal server error. When I checked error log I see (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server can anyone help me please..
Well I solved my problem, I just edited /etc/apache2/suexec/www-data file and change my home directory on first line. I am posting this because if anyone face same problem and can solve.