LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: HTTP 1.1 or name based httpd on VS-NAT

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: HTTP 1.1 or name based httpd on VS-NAT
From: Paul Baker <pbaker@xxxxxxxxxxxxxxx>
Date: Thu, 10 May 2001 15:20:22 -0500
Joseph Mack wrote:


So is that the <virtualHost ...>


Yes



or the servername underneath?


Servername should ideally be set to the reverse dns of the VIP (or what you would like the reverse dns of the VIP to have been)

what if instead of the name of the VIP, I surf to the actual IP?


I'm not for certain, but I believe that when you surf to a http://123.123.123.123/ url, the Host: header is not filled in for the HTTP request (i could be wrong) in which case, the web server is supposed to serve the first virtualhost entry, or the virtualhost that matches Servername.


There is no device with the VIP on the VS-NAT real-server. Does
there need to be one? Will an entry in /etc/hosts that maps the VIP
to the public name do?


Don't think so.

--
=======================================================================
Paul J. Baker                               Internet Systems Technician
pbaker@xxxxxxxxxxxxxxx                                  Where2GetIt.com
phone 847-498-0111x234
fax   847-480-7422
=======================================================================




<Prev in Thread] Current Thread [Next in Thread>