Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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).


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

All times are GMT. The time now is 11:00 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick