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.

Broken Apache Config or public_html Setup?

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

  1. Phylum

    Phylum Active Member

    Apr 20, 2010
    Likes Received:
    Trophy Points:
    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. ( 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/ 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.
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    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.

Share This Page