Can not access file after / on domains

HappyCoder

Member
Apr 27, 2012
15
0
51
cPanel Access Level
Root Administrator
Hi friends,

I have a crazy problem with a new cPanel installation on CentOS.
I created a domain and an index.html-file.
When I type Example Domain will appear index-file. When I write Example Domain so happens error 404. Does not matter which file I try to access, as occurs 404.

What have I configured wrong?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

It's possible this is a browser or DNS cache issue. Are you sure your domain name fully resolves to your server? Also, have you tried uploading other files to see if they are accessible?

Thank you.
 

HappyCoder

Member
Apr 27, 2012
15
0
51
cPanel Access Level
Root Administrator
Hi Michael,

Yes, I am quite sure that the whole domain name pointing into the server - and the server can be approved.
I also tried to upload other files - it's exactly the same error.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Yes, I am quite sure that the whole domain name pointing into the server - and the server can be approved.I also tried to upload other files - it's exactly the same error.
404 error messages indicate the file can not be found. Please ensure you are uploading the files to the correct directory (.e.g. public_html) and not the actual home directory of the accounts.

Thank you.
 

HappyCoder

Member
Apr 27, 2012
15
0
51
cPanel Access Level
Root Administrator
Oops - now I have discovered the error. And it is quite embarrassing!

I have changed the server's local IP address, and my test domain was still configured in cPanel to the old IP address.

Thanks for everyone's help!