I have two Mandrake boxes, one running Apache listening on port 80, the other running Flash Communication Server, listening on port 3159. I also have a single static IP.
What I want to do is to have both servers listening on port 80, and based on the 'hostname' in the incoming HTTP headers, redirect the packets to the correct server. Pretty much exactly the same as Apache's name based virtual hosts function, except with two separate servers.
Eg, assuming my DNS entries are:
www.foo.com A 999.888.777.666
fcs.foo.com A 999.888.777.666
If the domain is 'www.foo.com', direct packets to the Apache server, if the domain is fcs.foo.com, direct packets to the Flash comm server.
I am fairly new to this (but learning fast) and am not too sure if this is even possible. Any help appreciated.
-Scrawl