Asked

Do you know an app to make easily virtual hosts on mac (I want myapp.local instead of localhost:9000) without playing around with apache?


Will ship code for latte's

Change your host files (sudo nano /etc/hosts) and add:
127.0.0.1 myapp.local

Should be accessible inside of your browser at myapp.local:9000

Also, ngrok as mentioned by Swizec is cool but it generates its own url and not myapp.local.
ngrok is cool for testing on multiple devices no matter where they are. setup ngrok and forward the link to my brother on Windows for IE and my other one running Linux for whatever otherside of the planet. Pretty dope.

On to the quest of being a serial creator!

And a cool service to mention in this context is xip.io/ if you need a dns routing for certain hosts to specific ip addresses

Maker of WIP amongst other things.

I tend to use lvh.me for subdomain testing so I can do something like wip.lvh.me which just forwards to localhost. ( coderwall.com/p/-neplg/use-lv… )

I also use the ghost Rubygem to manage my /etc/hosts file. github.com/bjeanes/ghost