Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I will first try to describe the problem I have.

Let's say I have two different http servers running on two different ports behind firewall on my local machine:

SERVER1: http://localhost:8001
SERVER2: http://localhost:8002

Now what I want to do is to expose those two trough one port. Let's say trough port 80 like this:

http://server1.mydomain.com:80
http://server2.mydomain.com:80

The requirement is also that headers are preserved and that client and end servers will not be aware of proxy in between. So if Digest authentication is present on end servers I expect that it will continue to work like there is no proxy in between.

I guess that this could be achieved with transparent reverse proxy but as this is not my field of expertise I am really not sure whether I am looking at the right direction.

So the questions are:

  • What is proper way to achieve this?
  • Which solutions would make this possible?
  • Is there any other way to achieve same effect like described above?
share|improve this question

1 Answer 1

This depends on your reverse proxy product, but this is something that is definitely possible. We use MS TMG for this purpose, it can let clients authenticate directly to the backend, and it can proxy ports as well, but other reverse proxy solutions should be able to do the same.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.