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/
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
He's giving us the slip! Quick! Grab this tiny ad!
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
This thread has been viewed 1610 times.
All times above are in ranch (not your local) time.
The current ranch time is
Jan 16, 2019 02:48:05.