Virutalmin: Internal Server error after changing root directory

Discussion in 'Site & Server Administration' started by jhashan, Feb 4, 2015.

  1. #1
    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..
     
    jhashan, Feb 4, 2015 IP
  2. jhashan

    jhashan Well-Known Member

    Messages:
    246
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #2
    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.
     
    jhashan, Feb 4, 2015 IP