I really hate to use “localhost/index.html”, “192.168.0.100:3000″ or “127.0.0.1/whatever.php”, so now I want to show you guys how to set ayourproject.dev domain for your project

Simply use your favourite text-editor (w/ root privileges) and add this line to your hosts (it’s inside the “etc” directory) file:

127.0.0.1 www.yourpage.dev yourpage.dev <www.yourpage.dev>

And that’s all, I hope that this will be helpful for someone.



Felipe Cabargas

blog comments powered by Disqus