Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have an application on tomcat on address http://myserver:8080, but I want it to be server on specific url, e.g. http://myserver/jira. So I want everything that starts with myserver/jira to be mapped to myserver:8080:

http://myserver/jira => http://myserver:8080

http://myserver/jira/Dashboard => http://myserver:8080/Dashboard

How can I do it?

share|improve this question

Do you already have apache listening on port 80? If not, you can just change tomcat's configuration in server.xml to change what port it listens on.

If you already have apache running, you'll need to use mod_proxy to proxy requests through to port 8080. Atlassian has lots of great documentation on how to dothis, but feel free to reply if you need more details.

share|improve this answer

Use the Apache Tomcat connector to forward requests from httpd to Tomcat.

share|improve this answer

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.