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.

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:
    89
    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:
    567
    Likes Received:
    40
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page