Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different Tomcat on one server with redirect with apache httpd

 
Manuel Miklo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hei togheter
i set up today a windows 2008 r2 server with different tomcat-instances. Further i use an apache httpd server for redirect from port 80 to this xx80 ports.

Now my question : is it possible to solve this problem. that i could redirect any ports with apache. Means that i could for example set up one tomcat for port 8080 then redirect for example www.example1.com to this instance.
And further for example a complete own tomcat with port 9080 from www.example2.com to this tomcat.

I think that should be possible. So i could run different portal-instances of liferay completly itself...without making any virtual portal instances.


Is it possible, and if yes, which way i must configure this situation? ith virtual server, hosts-file and mod-jk...or on which way??

Means:

www.example1.com -> Tomcat-instance1 -> hosts-file -> localhost:8080
www.example2.com -> Tomcat-instance2 -> hosts-file -> localhost:8180
www.example3.com -> Tomcat-instance3 -> hosts-file -> localhost:8280

Would be this the right way? and if yes, how and which tool i need. i dont understand this situation.

Thanks for all help.

Greats
Manuel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic