ProAnswers.org

How to use HTTP-HOST over SERVER-NAME?

How it is and why?

The [b]HTTP_HOST [/b]is obtained from the [its documentation](http://httpd.apache.org/docs/2.0/mod/core.html#servername):



If no ServerName is specified, then the server attempts to deduce the hostname by performing a reverse lookup on the IP address. If no port is specified in the ServerName, then the server will use the port from the incoming request. For optimal reliability and predictability, you should specify an explicit hostname and port using the ServerName directive.