Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I finally got a simple grails app deployed and running on AWS EC2 instance with Tomcat7. How do I configure Apache and/or Tomcat so the app would be accessible from the following URL:

as opposed to how I have to access it now at:

I didn't have to specify port 8080 either so the two are working together nicely.

share|improve this question
up vote 1 down vote accepted

Simple way: Rename the directory within webapps (or the .war file) to ROOT (or ROOT.war if you're deploying a .war), replacing the default webapp.

Less simple, more flexible: add a <Context> configuration to server.xml to map a webapp to root - set the docBase to your webapp's location and the path to an empty string, "".

share|improve this answer
Thanks a bunch! Simple is good for the moment :-) – vector Oct 7 '11 at 23:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.