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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

stupid yet important

Discussion in 'General Discussion' started by distincthead, Apr 15, 2005.

  1. distincthead

    distincthead Member

    Apr 15, 2005
    Likes Received:
    Trophy Points:
    I'm a bit confused as to why I'm still getting the default ../apache/htdocs index.html.en page, when I've already put an index page in my /root/public_html...

    basically, where's it's root directory? etc.

    hopefully i'm not being vague, and i don't mind referral links, i tried a search to no avail

    thanx in advance,
    eric :confused:
  2. haze

    haze Well-Known Member

    Dec 21, 2001
    Likes Received:
    Trophy Points:
    When you create an account via WHM it uses the structure in /root to create the structure of the account. You should NOT edit the files in your /root unless you have good reason to do so.

    One way to find out where a virtual host gets pulled from is to check the httpd.conf which of course is located at:

    When you create an account, usually by default ( depending on your setup ) accounts are created in "/home/username". If you're looking for the path where the default apache pages are, they're in "/usr/local/apache/htdocs/".

Share This Page