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

    Joined:
    Oct 22, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    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.

    Thanks.
     
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