I needed to configure a virtual host for my web app, so I added the HostGBean to the /var/config/config.xml, then added a <host> element to the geronimo-web.xml.

Everything worked great, except now I have to manually comment out that <host> element to deploy locally or to the test server, since there can only be one computer with that domain.

Any ideas on how to deal with this in a way that does not require project file changes for each environment?