I'm moving away from the build in OSX Apache, PHP, MySQL-stack on OSX (since it changes everytime Apple updates anything).
I would like to add an entry for my domains to my hosts-file. I found a feature in Ampps for that and it added the .localhost version of my domain-name perfectly.
I then installed WordPress to that domain and opened the web browser for that domain. It sent me to the root folder instead of the .localhost - folder.
In the long run I would like to have multiple .localhost-domains (~10) to separate folders.