Reputation: 369
I have a web application deployed on tomcat with the following url:
175.68.115.4:443/timesheet
The ip address has been mapped to a domain www.mytime.com So now the application is accessible on the following url: www.mytime.org:443/timesheet
I want my application to be accessible from this url only : www.mytime.com The port number and the context name should be mapped together on the url. How can I do this? Any tutorial available on this?
Glad if you can help.
Upvotes: 0
Views: 1141
Reputation: 274
You have to change to port 80 for http and 443 for https. Edit your server.xml file and change <Connector port="8080"
to <Connector port="80"
. If you are using https search similarly for 8443
and change it to 443
Deploy your app with the name ROOT.war and your domain should take you to the home page of timesheet website. Check this question if you do not want to rename your war file
Upvotes: 1