OpenVZ Forum


Home » General » Support » name based hosting
Re: name based hosting [message #25051 is a reply to message #25019] Thu, 13 December 2007 17:04 Go to previous messageGo to previous message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
One way is to use an http proxy, such as pound, lighttpd, apache, nginx.

route all your port 80 traffic to VE 1, which runs one of the above. based on the domain, it will proxy the request to VE2, 3, etc depending on which domain is being requested.

Doing the IP translation in the kernel is the best, as VE2,3 see the actual request packets fromt he client, but the kernel would need to look at the packet data, such as using iptables layer 7 inspection module.

To my knowledge, the iptables modules in the general redhat distros cannot do this, so an http proxy would be my best suggestion.

Rick


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SSH to VE is very slow
Next Topic: ssh VPS doesn't work outsite Node server
Goto Forum:
  


Current Time: Tue Sep 30 02:21:30 GMT 2025

Total time taken to generate the page: 0.07647 seconds