3

I have added a line like the following to my /etc/hosts file:

159.253.x.xxx www.***.nl

When I ping to www.***.nl it gives me the correct ip address back but when I use my browser I do not get to 159.253.x.xxx (which is my development server containing a copy of the actual site).

My question is, how do I solve this?

I'm running Ubuntu 14.04.

astrob0t
  • 1,766
Bernhard
  • 203

1 Answers1

-2

Until and unless a website is hosted on a dedicated IP, you will never be able to reach the website/domain by typing in the IP in the address bar even though you will be able to ping the ip address. This is the reason, Hosting companies are able to host thousands/millions of domains on a single IP via shared hosting plans and as a result the hosting charges are less.

astrob0t
  • 1,766