I have a working development server with Apache, MySQL, PHP and Tomcat. I use virtual hosts for PHP websites (like admin.local and test.local) and I only have one .jsp webapp which runs on localhost:8080
Now I need to set up a production server with the same setup on another mac which has it's own static ip.
My problem is, I can't figure out how to make virtual hosts to work for Tomcat. I didn't install a connector (I've read something about that) so Apache doesn't know anything about Tomcat installation. Would connector help?
I've found a lot of articles on how to set up Tomcat on Mac, or how to use MAMP with Tomcat. But none address the issue of virtual hosts.
I've learned I can forward port 80 to Tomcat port so I see Tomcat app at http://localhost. But then how do I access the websites run by Apache?
I would appreciate any clue on the right direction.