Articles taggés JEE
In this post you will learn how to configure virtual hosting on Tomcat 7. It works also well if you use Apache as a frontend with mod_proxy_ajp (see my previous post).
In this example www.myfirstapp.com will use the webapp myfirstapp.war and www.mysecondapp.com will use the webapp mysecondapp.war. Let’s see.
First add the new hosts in server.xml (after default localhost host):<Host Plus >
First install Java JRE 7. You can download it on Plus >