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.
👋 Join WIP to participate
ngrok
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.
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
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