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!

Subdomain document root / v68.0.9

Discussion in 'General Discussion' started by Mat-d-rat, Nov 2, 2017.

  1. Mat-d-rat

    Mat-d-rat Well-Known Member

    Joined:
    Jul 30, 2003
    Messages:
    105
    Likes Received:
    2
    Trophy Points:
    168
    No matter what I do I subdomain paths are always adding /public_html/ in front of whatever I add or edit - I normally have a subdomain folder in the account folder which I put subdomains in, and never had an issue in the past? So is this a change, or a bug?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Check to see if the following option is enabled under the "Domains" tab in "WHM >> Tweak Settings":

    Restrict document roots to public_html

    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...
    Mat-d-rat likes this.
  3. Mat-d-rat

    Mat-d-rat Well-Known Member

    Joined:
    Jul 30, 2003
    Messages:
    105
    Likes Received:
    2
    Trophy Points:
    168
    Perfect!! New setting?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    The setting was introduced in cPanel version 58 (it was previously named public_html subdomains only), and has defaulted to "On" since cPanel version 60.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. blndsprk

    blndsprk Registered

    Joined:
    Nov 7, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New York
    cPanel Access Level:
    Reseller Owner
    i have a similar problem but have no "Domains" tab in "WHM >> Tweak Settings
     

    Attached Files:

  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You are not in the "Tweak Settings" interface. Click on "Server Configuration" first to see it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. blndsprk

    blndsprk Registered

    Joined:
    Nov 7, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New York
    cPanel Access Level:
    Reseller Owner
    still don't see it
     

    Attached Files:

  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    The option is only accessible as the "root" user. If you are a reseller, then you will need to ask your hosting provider to modify the option.

    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