Web Hosting Forum - Explore the Latest in Web Hosting Discussions

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

Cannot add addon domain outside public_html directory

StacyNex

Novice
Member
Hello,

I am trying to add an addomain domain outside public_html directory but cpanel does not allow me to do that.

Thanks in advance
 
  • Advertisement
  • You can disable this option here:
    WebHost Manager »Server Configuration »Tweak Settings, Domains tab:
    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)
     
  • Advertisement
  • 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
    WHM >> Home >> Server Configuration >> Tweak Settings
     

    Advertisement

    Back
    Top