apachewebspherevirtualhostibmhttpserver

How to split WebSphere virtual hosts, single webserver for multiple JVMs


How can I configure the virtual hosts to send the right url to the right JVM, when all of the apps use the same context root?

eg:

Info

I have multiple JVMs, and all apps have the same context root:

I have one webserver:

I have multiple subdomains:

Notes


Solution

  • If you define three virtual hosts in WAS, each with the right non-wildcard host aliases and map each respective application to its virtualhost, the generated plugin-cfg.xml will route the way you want.