This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Linux / UNIX and the fly likes mapping default page to domain name in tomcat without port number.in Ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "mapping default page to domain name in tomcat without port number.in Ubuntu" Watch "mapping default page to domain name in tomcat without port number.in Ubuntu" New topic
Author

mapping default page to domain name in tomcat without port number.in Ubuntu

Prasadk koti
Greenhorn

Joined: Jun 23, 2011
Posts: 1
HI,

Ubuntu is os and tomcat is server

I have domain name like www.mydomain.com". I want open the index.jsp by typing my domain name in the url from browser.

I created index.jsp and added code - sendRedirect("http://www.mydomain.com/Myapp/index.jsp"), place it under root folder of tomcat.

Its working fine if I type http://www.mydomain.com:8085/ but I need to type only domain name not the port number 8085.
If I type only domain name its not working.
please suggest me , how to open default page by typing only domain name instead of typing like http://www.mydomain.com:8085/


Regards,
Prasad
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Prasadk, welcome to Java Ranch!

You want to run Tomcat on port 80 (the default HTTP port). Any of these should help: linux tomcat port 80


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mapping default page to domain name in tomcat without port number.in Ubuntu