The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DocumentRoot changed for new accounts

Discussion in 'General Discussion' started by cigjonser, Jun 21, 2016.

  1. cigjonser

    cigjonser Registered

    Joined:
    Aug 23, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    For some reason, the document root directory that cPanel makes when creating a new account has changed.

    It used to create /home/<domain username>/public_html/

    Now it is creating /home/<primary domain>/<mount point>/<domain username>/public_html/

    The <mount point> is something I made months ago and points to another directory for convenience. New accounts were made after that with no issue, so it doesn't seem like a factor.

    In WHM -> Server Configuration -> Basic cPanel and WHM Setup it still shows /home as the default directory.

    Does anyone know what might have caused this, or where the setting is to chagne it back?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Please post the output from the following commands:

    Code:
    mount
    cat /etc/fstab
    Thank you.
     
  3. cigjonser

    cigjonser Registered

    Joined:
    Aug 23, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    The problem seems to have fixed itself.

    I forced an update of cPanel and rebooted the server and everything seems to be fine now. Not sure what the problem was or how it originated, but that seems to have fixed it.

    Thanks for taking the time to reply.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page