GeeCON Prague 2014*
The moose likes Struts and the fly likes How to change my host name? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to change my host name?" Watch "How to change my host name?" New topic
Author

How to change my host name?

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.
[ December 22, 2008: Message edited by: Venki Ananth ]

Venki
http://saalram.com
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not really a Struts question.

If nothing else you can add an entry to your hosts file.
 
GeeCON Prague 2014
 
subject: How to change my host name?