test subdomain more easier locally
The developer Levi Cook registered a domain, lvh.me (short for: local virtual host me), that resolves to the localhost IP address 127.0.0.1 and supports wildcards (accommodating dynamically created subdomains).
xxx.lvh.me:3000
xxx --> you can replace xx by anything , don't need to reconfigure your computer or web browser preferences.
hope it helps !
Written by fang
Related protips
2 Responses
Wow, Thanks for this,
I never to edit my /etc/hosts file for subdomains
over 1 year ago
·
yep, really helpful ! another tool you can check is xip.io. eg.http://www.getmura.com/blog/wildcard-dns-using-xipio/ or http://37signals.com/svn/posts/3191-announcing-pow-040-with-xipio-support
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#