I'm developing websites and I use xampp which is configured to automaticly point some type of domains to xampp main directory. For example: When I go to site1.local xampp is displaying page located at <xampp_projects_direcory>/site1/. If I go to wewqeqwje.local it will automaticly search directory wewqeqwje and so on.

But now I need to add every domain name to hosts file for every new project.

It is possible to automatize process of adding domains to hosts or maybe installing some software pointing all *.local to

I'm using windows 7.


You could use localtest.me, an online service that is designed to specifically address this problem: http://readme.localtest.me/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.