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

I have a scenario like there are two servers

1.On the first server where apache and tomcat are running on different ports.For eg ip would be

2.There is a second server where jboss and kvsms are running.for eg ip w ould be

3.IF a mobile client is trying to hit the first server with url one resource he is accesing is in first server and the second item has to be fetched from the second server.

how the request can be redirected to the second server without knowing the second servers ip.

how the tunneling can be done from the first server to the second?

Hope you gys understood the question

share|improve this question

You probably want to set up a reverse proxy with Apache that will deal with the client connections to the backends. There's plenty of documentation here and elsewhere that will tell you how to do this. You'll need to plan out the URIs that will be proxied to the jboss and kvsms services.

share|improve this answer
Thanks...Where should the proxy be configured and how – developer Apr 4 '12 at 13:41
In Apache. Look at their documentation, in particular: – cjc Apr 4 '12 at 13:42
my question is reverse proxy has to be configured in the first server or the second one – developer Apr 4 '12 at 13:54
It should be configured in the Apache on the first server. – cjc Apr 4 '12 at 13:55
can you tell me the steps and instructions to configure reverse proxy – developer Apr 4 '12 at 17:42

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.