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!

Why the change from public_html?

Discussion in 'General Discussion' started by Custom-Hosting, Jan 18, 2017.

Tags:
  1. Custom-Hosting

    Custom-Hosting Well-Known Member

    Joined:
    May 25, 2003
    Messages:
    92
    Likes Received:
    1
    Trophy Points:
    158
    cPanel Access Level:
    Website Owner
    Hey,

    I went with a new host recently and I seen that an add-on was created in / instead of /public_html - Is there any reason it was changed?

    Thanks
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    In WHM there is Restrict document roots setting. If you have enable that option then you can able to create addon domains and subdomains outside of a cPanel user's primary domain's
    The options is available under the Domains tab in WHM >> Tweak Settings:

    WHM >> Home >> Server Configuration >> Tweak Settings
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    As mentioned in the previous post, your hosting provider likely disabled the following option under the Domains tab in WHM >> Tweak Settings:

    Restrict document roots to public_html

    Per the description:

    Enabling this setting restricts Addon and Sub Domain document root directories to the same document root as an account’s primary domain (~/public_html)

    Thank you.
     
    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