A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
How to change port to 80from 8080
How to run a application
in server.xml how to make change in "Host" tag
how to run application
where to map the domain name in Tomcat?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014