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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    313
    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
     
    #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:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page