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.

If we have a redirect setup on a web server inside our company. Does all traffic continue to go through the webserver with the redirect as sort of a middle man? Or does the redirect occur only with the initial request and all subsequent traffic go straight from client to the second server.

Here is a picture to explain what Im trying to ask. I think Option A is how it works, but I'd like verification on my hunch.

enter image description here

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

No, a redirect sends an HTTP 30x response code to the client, which tells it a new location to make a request to (directly).

The scenario where the first server acts as the go-between is proxying, which can be achieved in most web server software as well.

share|improve this answer
add comment

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.