Run subdomains on local

ripple.fm uses app.ripple.fm and feeds.ripple.fm. How to test these locally.

I have set up both my iMac and Macbook Air's hosts file to serve these URLs:

http://feeds.localripple.fm:3000/
http://app.localripple.fm:3000/

In order for those to work, you must run rails server this way:

rails server -b 0.0.0.0


Editing hosts file

sudo nano /etc/hosts

Add these lines to it and save:

127.0.0.1       app.localripple.fm
127.0.0.1       feeds.localripple.fm

Last updated