I'm trying to setup following scenario:
- 1 apache webserver
- 1 wildfly application server
- 2 apache virtual hosts ( first.com, second.com)
- both domains (first.com, second.com) have DNS A Records pointing to apache's ip address
- each virtual host should redirect to different javaee application deployed on wildfly
- first.com -> localhost:8080/first
- second.com -> localhost:8080/second
how to achieve this? is this even possible? could someone point me in the right direction?
thank you and best regards Dalibor