Preview MAMP Pro/localhost site on any device on your network with xip.io
If you want to access your locally-hosted site (e.g. running MAMP Pro or something similar) on any device on your network–including mobile devices–add an alias to your site with the following format:
sitename.192.168.1.1.xip.io
Replace sitename with any URL-friendly phrase you want (I choose my site's name), and 192.168.1.1 with your local IP. Voilà! Instant multi-device testing, no extra software required.
Xip.io is a DNS forwarding service provided for free by 37signals, for use in exactly this situation.
(From this article)
Written by Matt Stauffer
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Responsive
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#