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

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.

share|improve this question
up vote 10 down vote accepted

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.

share|improve this answer

There are two reasons for this behavior:

  • Virtual hosts
  • Reverse proxy
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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