I am not sure if this is possible, or not but what I would like to do is as follows:
I have one IP address (dynamic using
zoneedit.com to keep it uptodate). I have one webserver running my main site which is an Ubuntu machine running Apache. I also have a windows 2008 server running another site. Just to confuse things I also run part of my Apache site on the windows server, currently using
proxypassreverse to get the information from it. It looks something like this:
IP 184.108.40.206 maps to example.com as well as example.org
All requests that come into port 80 are forwarded to the Apache box and I use Virtualhost settings to proxy the windows sites where needed.
example.com is an Apache site,
example.com/mywindowssection is the Apache server using proxypassreverse to get part of the site from the Windows server.
example.org uses Apache and
proxypassreverse to get the whole site.
What I would like to be able to do is forward all http requests that come into my network to one machine that figures out who should be serving that content? So:
example.comwould go to the Apache machine
example.orgwould go the windows machine.
I am just in the process of setting up an Astaro gateway (never done this before so taking a while to configure) as my firewall, dns, dhcp etc, don't know if this can handle it. I have the capacity to run a VM on the network if a separate box would be needed for this process as well.
Thanks for any and all feedback.