When trying to call a web site from its IP instead of its Domain Name, I get different pages.

I'm not sure what the issue is, but since these are development servers of some client I'm doing work for I was wondering what would cause this.


The same server can serve multiple websites, and decide which to serve based on the name. In apache multiple sites on the same address are achieved with name based virtual hosts. Usually the default virtualhost is used when the site is accessed via the IP address.


There are two reasons for this behavior:

  • Virtual hosts
  • Reverse proxy

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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