Reverse Proxy / Same External IP hostnames


I have two requirements I believe one is easier than the other though.

I want to be able to use a Reverse Proxy in IIS (I believe).

This is what we have.

One external IP address - (an example) - internal IP
Multiple IIS websites which can only ever be on Port 80 on different servers. In this example, lets say two servers. IP on internal servers are: & These two servers are independent and on completely different domains.
My idea would be to point two public DNS records ( and to then the client goes to one of the sites and it sees what the hostname is and then points them to the correct server (lets say should go to and to

The other objective is pretty much the same - using one external IP but based on the hostname we would like to use port 3389 for RDP to connect to different servers.

Any help would be good please.

Who is Participating?

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

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.

Jakob DigranesSenior ConsultantCommented:
For the first requirements, it's rather simple. Use Win2012 R2 reverse proxy - then you can set multiple external names to one IP for proxying several inside services on different IPs. I just recently published Exchange 2013 and Lync 2013 using a Win2012R2 Reverse Proxy with one IP. Worked .... okayish. Androids couldn't use activesync, but for plain websites it should be okay.

The second one - here you need either different ports or different IPs
Steve KnightIT ConsultancyCommented:
Main problem with reverse proxy type situations with one ip is whether you need ssl or not as the information that says what site you want is part of the encrypted https stream.  It would have to decrypt then identify the site.  Without ssl it works well.

For rdp you can use the rdp gateway function. It isn't quite as easy as point 3389 at it and let it sort out as by default or wouldn't know which machine you want.  That uses two ports which you can amend in the 2012 versions.


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
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 IIS Web Server

From novice to tech pro — start learning today.