7wdzng
Last Updated: February 25, 2016
·
2.864K
· mattstauffer
0e651fa969042b55b9c13d4c3251313d

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)

Say Thanks
Respond
Awesome Job

E7334122 1780 11e8 9aaf caa9487f1cb0
DevOps Engineer
·
Negotiable, Sydney or Canberra pref
·
Full Time