[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 480
  • Last Modified:

Multiple Tomcat websites served through IIS6

I am currently running a Windows Server 2003 R2 Enterprise Edition server running nothing else except IIS6 and multiple Tomcat servers.

I have successfully connected IIS6 with Tomcat using the Tomcat Connector, but the only documentation I have found involves adding a static registry entry, which means I can only host multiple Tomcat servers using http://<DOMAIN NAME>/<TOMCAT DIR>, which is a real pain as I need to host each Tomcat server under it's own Domain Name, for example http://<TOMCAT1>, http://<TOMCAT2>, etc.

Does anyone know how I can manually configure the Tomcat Connector on a per-website basis on the same server? I read on Tomcat's website that the registry entry can be bypassed by using a "properties" file, but I haven't managed to get this method to work.

Any suggestions (or HOWTO's) would be grately appreciated.
1 Solution
I'm not very familiar with IIS, but what I heard you can do quite a lot with it. Maybe (?) you can configure it to proxy your tomcat domains directly to port 8080. Then, in Tomcat, you can handle those domain names using virtual hosting. That's pretty easy to configure. But I'm not sure about the IIS part...

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now