This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Tomcat and the fly likes How to change my  HostName ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to change my  HostName ?" Watch "How to change my  HostName ?" New topic
Author

How to change my HostName ?

Venki Ananth
Ranch Hand

Joined: Dec 17, 2008
Posts: 32
An interesting doubt!!! I am just accessing my J2EE application using this url like "http://localhost(or ipaddress)/Myproject"

Is there anyway to change my host name without changing my system name ?
I like to change "http://newname/Myproject". Any other settings available on service side. I'm using Tomcat5.5 in NetBeans.


Venki
http://saalram.com
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

You could probably map a name in your hosts file to resolve to your local IP. In order to have other computers recognize that name, you will have to set up a DNS server.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Venki Ananth
Ranch Hand

Joined: Dec 17, 2008
Posts: 32
Hello Joe!

Thanks for the reply! Worked well!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change my HostName ?