This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing Host Name

 
Nitin Menon
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an issue regarding the host name. i saw a previous post regarding the same topic. My problem is slightly different.
by editing the host file, i could change
http://localhost:8080/PTS/JSP/myfile.jsp to http://www.applname.com:8080/PTS/JSP/myfile.jsp.
Is it possible to change the host name to
http://www.applname.com/myfile.jsp
that is, i would like to hide the port number and file location too.

Thanks in advance,
Nitin
 
ujjwal soni
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Yes, you can change the entry in windows host file...

It will contain an entry somewhat like

127.0.0.1 localhost

you can change it to

127.0.0.1 www.ujjwal.com


Cheers!!!

Ujjwal B Soni

<baroda, gujarat, india>

<919998971048>
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The short answer is: No, you can not change the host fil, and get the URL you here want.

BUT - you can set up your Application Server, so you will get the wanted URL.
[ January 02, 2009: Message edited by: Rene Larsen ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic