Anchor | ||||
---|---|---|---|---|
|
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 When Apache Geronimo is installed it provides a single virtual host where all the services and applications will be listening. This is, all services and applications will be listeting on all the available IPs on the server.Virtual hosts provide a way to insolate some applications and make them every available host name. By configuring a virtual host you can make an application to listen on a specific IP. This functionality is equally valid when you have multiple host names aliased to a single IP.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