Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is something like below possible?

Same VPS with 2 IP Addresses associated with it.

Apache Httpd -> bound to one of the IP Addresses on port 80 -> serving Apache Tomcat -> bound to another IP Address on port 80 ->

If yes, can you please point me to a link which achieves something like this.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

In the config of each software, you would bind the software to its appropriate IP.

Tomcat ->

Apache ->

share|improve this answer
ok. I think this should solve the problem. Thanks. – Pritam Barhate Mar 27 '12 at 11:37

I'd recommend that you consider using Apache to front-end both sites, and proxy the subdomain connections using something like mod_proxy_ajp. This eliminates the requirement for a second front-end IP, and most folks will agree that Tomcat isn't great for a frontend.

share|improve this answer

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.