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.

SOLVED Trasferred addon domain changed document root

Discussion in 'General Discussion' started by magj, Feb 10, 2018.

Tags:
  1. magj

    magj Active Member

    Joined:
    Dec 20, 2013
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hi

    I have transferred many accounts form one server to a new one , but it has changed all addon domains root starting from public_html which is not a desired behavior , even when I try to change the document root outside of public_html it defaults again to it again.

    Any help would beg greatly appreciated
    Best
     
  2. magj

    magj Active Member

    Joined:
    Dec 20, 2013
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Solved by modifying Tweak Settings> Restrict document root to public_html >Off

    Best
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,802
    Likes Received:
    1,714
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see you were able to solve the issue. Note that we've also released a fix related to this issue in cPanel versions 70 and 68.0.29:

    Fixed case CPANEL-13116: Ignore “publichtmlsubsonly” on account restore.

    Thank you.
     
  4. magj

    magj Active Member

    Joined:
    Dec 20, 2013
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Thanks,

    Of course I had to modify every single domain/subdomain on every account after updating the setting.

    Best
     
Loading...

Share This Page