Redirect network traffic by hosting to another IP

I have a couple of servers in the office and only one external IP address.

Currently I'm directing all port 80 traffic to our Centos server.

The other server is running Windows Server 2012.

What I'd like to be able to do is redirect all port 80 traffic to the MS Server, and have it determine which server needs to deal with the request by the host in the header.

For example,

the MS server may deal with all requests for domain1.com, but the centos server may deal with all requests for domain2.com.

Is there an easy way to do this?
SheppardDigitalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
That's basically a reverse proxy. Some firewall packages can do this, as can some UTMs. IIS can do this via ARR, as can Apache with mod_proxy. So it depends on your resources as well as your skill. Manually setting up a reverse proxy is not trivial so a simple 1, 2, 3 instruction sheet is not something easily posted.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SheppardDigitalAuthor Commented:
Thank you that helps, at least now I know what I'm looking for on Google.

It's probably best then if I have all port 80 traffic sent to the Centos server which is running apache, and use the mod_proxy module to redirect traffic to the windows server. I think this will be easier, because if I remember rightly I'm already using mod_proxy to redirect traffic from port 80 to Tomcat running on port 8080 (I just didn't understand it).

Thank you for pointing me in the right direction.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.