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.
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: