This article shows how to configure Virtual Hosts in Apache Geronimo with Tomcat. By default, when you deploy and start an application in Geronimo, that application will be listeting on every available host name. By configuring a virtual host you can make an application to listen on a specific host name or IP. The configuration steps described in this article are also valid then you are sharing a single IP among several host names.
To configure a virtal host is Geronimo you basically need to:
- #Configure local host or DNS
- #Define Virtual host
- #Declare the virtual host in the deployment plan
- #Deploy the application