All Domains pointing to the same directory

dicataldi

Registered
Jul 4, 2014
3
0
1
Rio Claro (São Paulo), Brazil
cPanel Access Level
Root Administrator
Good day,

I got a problem and I wonder if anyone can help me please.

'm Riding my server, the emails are normal however I can not make the site work.

All sites are falling at the same place and end up getting the 404 error:

[Fri Jul 04 06:03:54 2014] [error] [client xxx.xxx.xxx.xx] File does not exist: / usr / local / apache / htdocs / index.php

I noticed that all registered on my server domains point to the same folder on the server "/ usr / local / apache / htdocs /" which should point to your DocumentRoot

Entering the edition of httpd.config check that
<VirtualHost> that are all created correctly with their appropriate DocumentRoot

**** but it does not work could someone help me?
 

Infopro

Well-Known Member
May 20, 2003
17,090
519
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Sites should not be served from that location.

When you create a Package, and then add an account, it's created in the /home/ directory.
So for instance that index.php you mention, should be located here:
/home/username/public_html/index.php

..for example.