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

    Joined:
    Apr 15, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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, mydomain.com... 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

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    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:
    /usr/local/apache/conf/httpd.conf

    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/".
     
Loading...
Similar Threads - stupid yet important
  1. vs-fam
    Replies:
    11
    Views:
    676

Share This Page