By default, addon and subdomain document roots are restricted to the public_html of the account under which they are created. This article covers how to disable this restriction.
- Log in to WHM and navigate to "Home » Server Configuration » Tweak Settings."
- Click the "Domains" tab.
- Change the "Restrict document roots to public_html" setting to "Off."
- Click the "Save" button at the bottom of the page.