Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change my HostName ?

 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Joe!

Thanks for the reply! Worked well!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic