Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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've apache2 and tomcat6 running on port 80 on ubuntu server 9.10. I've a registered domain name and I'll access the jsp index page navigating to The page is under tomcat_home/webapps/myapp and the below are tomcat virtual hosting in server.xml file:

<Host name="" debug="0" appBase="webapps" unpackWARs="true">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="virtual_log1." suffix=".log" timestamp="true"/>
<Context path="" docBase="/usr/share/tomcat/webapps/myapps" debug="0" reloadable="true"/>

Recently a new domain has been bought( and I'm asked to do the virtual hosting so that the new domain name directly points the page "admin.jsp" which is located under 'tomcat_home/webapps/myapps/WE-INF/js/'. How could I do this?

If I type I'll get the page what I wanted. I should access the page just by typing

share|improve this question
If you find you don't get an answer here, you may want to ask this question on, or see if it has been asked there before. – Stefano Palazzo Dec 10 '10 at 19:11

In web.xml in the welcome file List. Example:


Just add another line that refers to admin.jsp.

Thanks Chris

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.