*
The moose likes Tomcat and the fly likes Url(Doubt.......) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Url(Doubt.......)" Watch "Url(Doubt.......)" New topic
Author

Url(Doubt.......)

Thamarai kannan
Greenhorn

Joined: May 05, 2009
Posts: 28
hw 2 specify the own userdefined name instead of repective port number .....
ex:tomcat 6.0 url is http://localhost:8080/ instead of this url can we specify our http://Mysample/ as if.................
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8843
    
    7

Two things: first, change Tomcat to listen to port 80 instead of port 8080. Since port 80 is the default for HTTP requests, it is not necessary to specify it. Open your server.xml file and search for "8080".
Second, you need to register a domain name with a company like GoDaddy or Network Solutions. They will associate your domain name with the IP address of the server your site is hosted on. If you don't have a public, static IP address, you'll either need to get one or find a hosting company to host your site.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
jQuery in Action, 2nd edition
 
subject: Url(Doubt.......)
 
Similar Threads
Session timeout
ActionForward point to different application
The problem prototype Ajax.Request
Development nearing end ... docs next... but question.
What for marker or tag interface is used?