File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change my HostName ?

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

Thanks for the reply! Worked well!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic