Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Changing cPanel home folder from the command line

Discussion in 'General Discussion' started by albatroz, Dec 30, 2017.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    318
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I had to change the home folder of an account to a new partition (from /home4 to /home3)
    so following the indications of this URL interserver.net/tips/kb/change-primary-domain-document-root-cpanelwhm/
    I edited the files
    /etc/proftpd/user_name
    /var/cpanel/userdata/user_name/domain_com
    but WHM still shows the path to the new folder and I am still having error messages
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 albatroz, Dec 30, 2017
    Last edited by a moderator: Dec 30, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice