[lvs-users] Traffic routing based on subdomain where all subdomains have same ip address?

Graeme Fowler graeme at graemef.net
Tue Oct 9 20:04:59 BST 2007


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



Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list