A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Linux / UNIX
mapping default page to domain name in tomcat without port number.in Ubuntu
Joined: Jun 23, 2011
Jun 23, 2011 00:20:56
Ubuntu is os and
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
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
Joined: May 14, 2008
Jun 23, 2011 09:39:36
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:
subject: mapping default page to domain name in tomcat without port number.in Ubuntu
I am not sure how to change the view of url for struts 2
Picking up parameters in the URL
404 error redirecting
where to map the domain name in Tomcat?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013