A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to change localhost with myAppliaction in the URL
Joined: Sep 21, 2005
Dec 21, 2005 22:31:00
I have changed the port to 80 from 8080, successfully, now what i want is that like instead of writting -:
, i will write-:
, that what i want is in place of
writting "localhost" i have to write "myApplication" and it will work as like as it works normally with localhost.
Joined: Mar 12, 2004
Dec 25, 2005 01:15:00
Well i may be wrong.
but as far as my knowledge goes "localhost" or any other name denotes the servername, and hence it HAS to be the server name and nothing else. Should be either "localhost" or letz say "gaurav" if the server is named as "gaurav".
Anybody please correct me if i am wrong !
It is sorta covered in the
JavaRanch Style Guide
subject: How to change localhost with myAppliaction in the URL
where to map the domain name in Tomcat?
How to change port to 80from 8080
in server.xml how to make change in "Host" tag
how to run application
How to run a application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014