View Single Post
  #1   (View Single Post)  
Old 4th May 2008
krreagan krreagan is offline
New User
 
Join Date: May 2008
Location: Colorado, USA
Posts: 5
Default Serving 2 domains through firewall using a Jail?

I have a firewall that forwards all port 80 requests to my server s1.myserver.com.

I have multiple domains (myserver.com & theirserver.com) pointing to my global IP address which is on the WAN side of my firewall.

I have this working using just virtual domains on a single (s1.myserver.com) server.

I have recently added a jail VM (s2.mydomain.com) setup to this server and would like to move my theirserver.com domain traffic inside the jail with it's own dedicated web server.

My question is: How (if possible) do I configure apache on my s1.myserver.com so that it handles www.myserver.com traffic itself but passes traffic destined for www.theirserver.com to the jail VM and it's own apache server without the client knowing about this configuration?

I looked at the reverse proxy features but got lost in the weeds . (this is a hobby for me and not my business).

FREEBSD 7-STABLE

Thanks
Krreagan
Reply With Quote