A friendly place for programming greenhorns!
mapping default page to domain name in tomcat without port number.in Ubuntu
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
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
Wink, wink, nudge, nudge, say no more ...
This thread has been viewed 1476 times.
All times above are in ranch (not your local) time.
The current ranch time is
Jan 22, 2018 01:31:40
Copyright © 1998-2018