shorter URLs for locally hosted files
- by Ashwini
I have seen in many developer talks, the presenter using a demo.local URL instead of the conventional localhost/demo for faster access.
I've read about editing host entries over here How can I create shorter URLs to sites on my computer? but my question is since the localhost IP is the same 127.0.0.1 for every folder inside my var/www or htdocs then how to make it accessible in the shorter format?