LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Traffic routing based on subdomain where all subdomains

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Traffic routing based on subdomain where all subdomains have same ip address?
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Tue, 09 Oct 2007 20:04:59 +0100
On Tue, 2007-10-09 at 11:31 -0700, Mike Grandmaison wrote:
> I was thinking I could map customer1.mydomain.com, customer2.mydomain.com, 
> etc all to one public ip address.  Then what I am hoping is that I could have 
> LVS route the traffic to/from the correct instance of tomcat based on the 
> subdomain.
> 
> Is this possible?  or would I need to have a different public ip address for 
> each subdomain?  any other ideas?

It's not possibly per se with LVS. LVS is an application-agnostic
router, nothing more - it shovels packets around based on address+proto
+port but does no content inspection.

If you're happy binding each subdomain to a different public IP address,
you can likely achieve what you want.

Graeme



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