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!

Change default document root

Discussion in 'General Discussion' started by dsands, Oct 22, 2011.

  1. dsands

    dsands Member

    Oct 22, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Is there a way to change the default docroot (public_html) to httpdocs (or whatever I want) when creating an account?

    If not, can this be altered via the vhost.conf without cPanel overwriting it at some point?

    A symlink will not work because this domain will be created/updated via a subversion repo that will install httpdocs as a folder.


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