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.

domain names are using the incorrect path

Discussion in 'General Discussion' started by patnumeric, May 2, 2009.

  1. patnumeric

    patnumeric Registered

    Joined:
    May 2, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangkok
    I'm a new user here. It appears that my domain names are using the incorrect path for the root directory. These domains appear to be using /usr/local/apache/htdocs rather than /home/[username]/public_html.

    Can anyone suggest me where I can fix this, please?

    I'm using cPanel 11.24.4-S35075 - WHM 11.24.2 - X 3.9
    FEDORA 8 i686 standard on cpanel
     
  2. hzJohn

    hzJohn Member

    Joined:
    Mar 16, 2009
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Goto /usr/local/apache/conf/httpd.conf , in the 'VirtualHost' entry for the domain change the DocumentRoot to /home/[username]/public_html .
     
  3. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Is this happening for all domains or ???

    If it's configured correctly, you shouldn't have to manually edit anything.

    Is this a new box/account, or an existing one that worked and has broken or ??
     
  4. patnumeric

    patnumeric Registered

    Joined:
    May 2, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bangkok
    I got it fixed by my host support. They made me confused. The problem is because I have a firewall and I should configure my domain's hosting to use firewall's internal IP Address. Thanks guys
     
  5. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    397
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page