tomcat dns forwarding to multiple applications

Posted by basis vasis on Server Fault See other posts from Server Fault or by basis vasis
Published on 2012-06-29T14:31:34Z Indexed on 2012/06/29 15:17 UTC
Read the original article Hit count: 289

Filed under:
|
|
|

I recently installed business objects software on tomcat 6. I have 2 domains - domain1 and domain2. This software allows access to two of its applications via these URLS:

ADDRESS:http://myservername.domain1:8080/BO/APP1 and ADDRESS:http://myservername.domain1:8080/BO/APP2.

Instead of these urls, I would like the end users to access these apps via something like http://bobj.domain2.com:8080/BO/APP1 and http://bobj.domain2.com:8080/BO/APP2.

I cannot figure out how to accomplish that. I have looked into the option of http redirect (not good because the destination address shows up in the address bar), domain forwarding (not sure if it would work with multiple applications and forwarding from one domain to another) and also using apache tomcat with mod_jk by using virtual hosts (not sure if it is possible when forwarding from one domain to a sub domain in another domain) ??

please advise as to what would be my best option and how to accomplish.

thanks a bunch

© Server Fault or respective owner

Related posts about apache2

Related posts about dns