How can I configure a single instance of Apache Tomcat 7 to server multiple domains in Windows? I am new to Apache Tomcat 7 and I am lost. I have installed the instance with no problem. I have my default page showing OK (www.domain.com) and I have a new app that I can access via www.domain.com/app1 but I would like to have a new url app2.domain.com. I have registered my second url, but it defaults to the main page. Can some one give me step-by-step instructions as to how I can do that please. I have been reading online for the past week and I am lost. The GUI for adding a virtual host is not as friendly as Glassfish, so I dont know what to do.
Yes, this feature has been available in tomcat for a while.
You would create multiple <Host> elements