ruby · Ruby On Rails

Alternative for localhost, using sub-domains in localhost

smackaho.st and lvh.me provides good option of using localhost with subdomain etc. The two domains are pointed to localhost only. If we go to http://lvh.me:3000/ we’ll see the homepage of our application because lvh.me resolves to the IP address 127.0.0.1. Checkout all the below urls. all will open your application homepage. http://smackaho.st:3000/ http://abc.smackaho.st:3000/ http://lvh.me:3000/ http://xyz.lvh.me:3000/