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!

How to change the document root for my website in cpanel?

Discussion in 'General Discussion' started by ker, May 4, 2010.

  1. ker

    ker Member

    Joined:
    Apr 26, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Hello there,

    I would like to change the document root for my website in cpanel.

    My index.php is on a directory (/root/index.php) but I cannot find the way to put this path in Cpanel.

    Normally, I used the vhost to change that, but I don't find the vhost file..

    Thanks
     
  2. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    66
    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