|
General software and network General OS-independent software and network questions, X11, MTA, routing, etc. |
|
Thread Tools | Display Modes |
|
|||
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 |
|
||||
Quote:
If that's all true, to me the cleanest way to handle this is to run apache only in the jail and simply use name-based virtual hosting to serve up both sites. (Eh, and it sounds like you're already doing that?) I know this doesn't address exactly what you are looking for. Just throwing out ideas until someone with a better one comes along.
__________________
Kill your t.v. Last edited by anomie; 4th May 2008 at 09:40 PM. Reason: removed useless suggestion. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with Postfix virtual domains | juris98 | General software and network | 2 | 11th February 2009 12:14 AM |
Virtual domains on multiple mail servers running Exim4 as MTA | satimis | General software and network | 10 | 27th November 2008 02:42 PM |
Getting around Jail IP Adresses | starbuck | FreeBSD Security | 8 | 9th August 2008 01:15 AM |
SquidGuard fails when building the Berkeley DB files for domains | costy | OpenBSD Packages and Ports | 1 | 31st July 2008 09:22 PM |
URL evaluation tools to determine if serving malware | dk_netsvil | Off-Topic | 0 | 30th June 2008 04:55 PM |