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!

Broken Apache Config or public_html Setup?

Discussion in 'EasyApache' started by Phylum, Jun 6, 2011.

  1. Phylum

    Phylum Active Member

    Joined:
    Apr 20, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    56
    I've got two unusual, but related, problems
    1. When I http to my domain the page loads fine. If I http to the server's IP address I get the 'Default Website Page' template. (http://ip.add.re.ss/cgi-sys/defaultwebpage.cgi) I'm certain it has to do with the way I set things up: I created an account for myself to manage the server's primary domain and web content (so Microsoft Corporation: Software, Smartphones, Online, Games, Cloud Computing, IT Business Technology, Downloads pulls from /home/myaccout/public_html/www.conoso.com or whatever). error_log onl complains about the missing favicon in /usr/local/apache/htdocs. This leads me to believe I should've put the sites default page here, no?
    2. I registered a new domain today & created the account on the box. When I http to the new domain instead of getting a default page template (I assume thats the default behavior) I get an index ('Index of /') page displaying cgi-bin/, images/ & postinfo.html. The user's public_html folder has a bunch of directories start with underscores (_private/, _vti_bin/, vti_conf/ and a few others), an .htaccess file and a _vti_inf.html file. The error_log shows 'File does not exist /home/user/public_html/favicon.ico and 404.shtml

    I assume I've broken something but I'm not entirely sure what.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The website content should go into /home/myaccout/public_html location rather than /usr/local/apache/htdocs location for the account where myaccout is the cPanel username for the newly created account.
     
    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