Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've put my files in public_html but i can't access them with direct ip address? When i got to my ip it displays: "If you feel you have reached this page in error, please contact the web site owner..."

I'm new to cpanel and hosting stuffs, have i missed an extra step to make it work?

share|improve this question

closed as off-topic by kasperd, Katherine Villyard, 84104, masegaloeh, Ward Apr 17 '15 at 3:06

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

That won't work because the IP address it not yours, it's the machine's. If you need a dedicated IP address, you'll have to request one from your hosting provider, and likely pay more for it. – David Schwartz Feb 17 '12 at 7:47
Questions involving web hosting control panels are off-topic at Server Fault because they customize their systems beyond our ability to support, and thus require support from the vendor or the web hosting industry. See Where can I ask questions about web hosting control panels? – Katherine Villyard Apr 17 '15 at 0:59
(Hi, neelix! We're doing a big web panel cleanup and your question was in the close queue. No offense meant; I'm sure your question was on topic in 2012 when you asked it.) – Katherine Villyard Apr 17 '15 at 1:00
up vote 3 down vote accepted

No. Simpl set - normally web servers use the domain name to distribute to different virtual hosts. As such, accessing via IP only is not working. Point.

Either give it a dedicated IP address and set it up (if necessary by hand) not to bind to a host name, or get a domain (the "right one") pointing to the Ip or use a hosts file to remap the domain name to the IP. But i things are set up to use virtual hosting servers (which is standard) then sorry, IP access does not work. The request must contain the proper host name / domain name for the web server to kno which site to serve.

share|improve this answer

Most likely, accessing your content via a non-DNS-URL is not possible.

What you have is called "shared hosting". This means that your provider has placed several customers' web sites on a single server. Thus, every web site on this server has the same ip address. The DNS names are all resolved to the same ip address.
When a web browser accesses one of these sites, he send a request containing the desired site name in the host value, so the web server can identify where to look for the content.

share|improve this answer

You should probably get in touch with your host's support team for these sort of questions.

Typically, you receive an e-mail that has your cPanel account name, password, as well as something like "Temporary Webpage URL" which you can use to access your website until your DNS resolves in the form of:

The "account" in above url example is your user name of cpanel.

share|improve this answer

I'm assuming that you have created DNS zones for your website. You don't need to have your domain DNS pointing to the new server, but you need to create a DNS zone to open that website with only IP on your machine. How to do that is out of the scope of your question.

You could access your website only with an IP, It doesn't matter if IP isn't dedicated. What you have to do is to specify inside your HOSTS file in your machine that IP (VPS or some other not dedicated IP). You specify where your websites files are and that there is an IP for that domain where to go to get HTTP responses like so:

Open your HOSTS file on a unix system could you probably find it and modify it from terminal by:

# vi /etc/hosts

There add your new host e.g. for an IP where yours website's files are. Add this line at the end of file:

Now you have to just open your browser and try to get this url:

You will get you development website files on your browser in your machine.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.