A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Changing Host Name
Joined: Jun 13, 2007
Jan 02, 2009 04:36:00
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
Is it possible to change the host name to
that is, i would like to hide the port number and file location too.
Thanks in advance,
Joined: Mar 28, 2007
Jan 02, 2009 06:57:00
Yes, you can change the entry in windows host file...
It will contain an entry somewhat like
you can change it to
Ujjwal B Soni
<baroda, gujarat, india>
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Joined: Oct 12, 2001
Jan 02, 2009 07:00:00
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 ]
Regards, Rene Larsen
It is sorta covered in the
JavaRanch Style Guide
subject: Changing Host Name
how to remove the port number in URL
session vulnerable pages
how to remove the port number.....
Use welcome-file-list to run struts action?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014