Broken Apache Config or public_html Setup?

Phylum

Active Member
Apr 20, 2010
33
0
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.