Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Title is basically it. I have tomcat running on localhost:8080 and I'm attempting to use IIS 7 with ARR to reverse proxy to it, which half works. The request is getting to tomcat but with the Host header of, which the servlet is complaining about.

share|improve this question
up vote 1 down vote accepted

ARR does a reverse proxy request to the target Server Farm, which is localhost:8080 in your case. When it does, it writes the original server variables into HTTP_X_?? variables.

From tomcat, you will need to rewrite those variables back into the original locations if you want to ensure that applications on tomcat are affected by the reverse proxy affect. If your site was IIS7, you could use the ARR Helper which does that for you, but since you're not using IIS, you'll need to handle that manually yourself.

share|improve this answer
Yeah, I was hoping this weren't the case, but it turned out the Java changes were pretty simple. – Jeff Mc Apr 5 '10 at 16:37
Great. Glad you were able to figure it out so readily. – Scott Forsyth - MVP Apr 5 '10 at 20:16

Your Answer


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.