Virtual Hosting by Name

Virtual hosting by name (as opposed to Virtual Hosting by IP) is a relatively new development in the HTTP standard. In this method, a variety of different domain names are associated with a single IP address. All the domain names are registered, and all requests are forwarded to the same IP. Once received, the server distinguishes the requests from one another by means of the HOST header, which is matched against any virtual hosts configured on the server.

Virtual hosting by name is a good system and undoubtedly has slowed the rate of IP address depletion somewhat. The catch is that only browsers which conform to the HTTP 1.1 standard supply the HOST header. If someone with an antique browser tries to access one of your ...

Get Linux® Desk Reference, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.