Accessing server by dedicated IP address
Posted
by
Sherwin Flight
on Server Fault
See other posts from Server Fault
or by Sherwin Flight
Published on 2013-10-24T19:38:39Z
Indexed on
2013/10/24
21:57 UTC
Read the original article
Hit count: 237
I'm having an issue with my hosting provider after migrating to a new account.
It's taking some time to get the problem sorted out, so I am hoping someone here can shed some light on the situation.
The server is running WHM/cPanel, and the site I am trying to access has a dedicated IP address.
When I connect to the server like this http://IP.HERE instead of showing my the website the way I would expect, it is showing the contents of a subfolder.
So, while I would expect it to load public_html/ it is loading public_html/somefolder/ instead.
Any idea why this is happening instead of showing the sites homepage the way I would expect?
EDIT
It is not redirecting, so the url is just http://IP.ADDRESS/, but the files listed are from a subfolder. So, it LOOKS at though I went to http://IP.ADDRESS/subfolder, when the URL says it should be showing the main folder contents.
When I access the site using the domain name, it works properly, so I assume the document root is set correctly.
© Server Fault or respective owner