1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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