How can I create a domain name for local purposes?
for example I have a local web application enviroment in http://localhost:8000 but I would like to have it in http://dev instead.
I am using Ubuntu 10.04
|
How can I create a domain name for local purposes? for example I have a local web application enviroment in I am using Ubuntu 10.04
| |||||
feedback
|
|
You should be able to use a text editor of your choosing to edit your
These hosts entries map the "dev" hostname to your machine's loopback interface (address 127.0.0.1 under IPv4, and 0:0:0:0:0:0:0:1 for IPv6). After saving, "http://dev" should behave identically to "http://localhost". (NB: You will need superuser permissions to edit the | |||||||||||
feedback
|