Ok, so I worked on this for a while and searched, but so far I have not found any answers that actually answer what I want to know. I'm a little at the end of my rope with this, but I hope I can figure it out soon.
So, I have Apache 2 installed and showing standard web pages, but I also have one of my supported domains associated with the Tomcat instance. However, I want to add another domain to the server through Apache, which points to a separate code base from the one I already have. I came to this from different points of view, and I decided that I just don’t know how to configure these servers to really do what I want to do.
A little info about my server: One instance of Tomcat5.5 is currently running with Apache 2, using mod_jk to connect them.
I have a worker in work.properties that points the host field to "localhost" with the correct port on my Tomcat instance, so everything works.
In my Tomcat server.xml file, I have a host defined as "localhost" that points to my webapp, which I currently serve, and this host is also set to defaultHost.
It seemed to me that I could add a new worker with a different host than "localhost" (that is, host2), and then define a new host in my server.xml file called "host2" so that it matches, but after reading around some in The internet. It seems that the "owner" of the worker should point to the server, not the host name in the Tomcat instance, is this correct?
Again, a simple summary of what I want: Install a combo in apache / tomcat so that www.domain1.com points to "webapp1" and www.domain2.com to "webapp2".