I am working with a colleague to set up their local environment on a MAC in XAMPP, on windows my vhost looks like the one below.
When I access a URL like http://domain.l
I don't know much about settings used. But I think you should go through following links. Might get some help.