*.localhost.la ?

Frequently when developing web aplications, you test the sites or projects in an local environment, when you have to create more than one virtualhost you have to configure your local dns or hosts file. Than, they can resolve the names of your projects to the IP of your current machine.

In some cases you can not edit your local dns or do not have privileges to edit the hosts file making difficult to install/test some applications. In cases like this is where *.localhost.la is useful, see the following example:

Imagine a user developing two projects, projectA and projectB both projects need to be fully tested before going web live.

The admin of the network maybe created some DNS entries like:

projectA IN A 192.168.1.5
projectB IN A 192.168.1.5

So everyone on the office can type something like http://projectA on their browsers and resolve that name to the IP of the user developing the sites.

Now suppose that the developer goes to home and he wants to test the sites he has been working on, he could configure his machine by editing the hosts files or maybe his router so that the name projectA could be resolved locally.

With *.localhost.la you achieve the same goals in a simpler way, by default *.localhost.la resolves to 127.0.0.1 so you only have to worry about configuring your virutalhost and setting the servername to something like: projectA.localhost.la

In cases where you need to resolve to a different IP rather than 127.0.0.1 you just go to Create your host type the name of your project, the IP the one you want to use and done.

give it a try Create your host