How can I test a website being developed locally from remote device (like an iPhone)? How can I test a website being developed locally from remote device (like an iPhone)? wordpress wordpress

How can I test a website being developed locally from remote device (like an iPhone)?


try the link How do you access a website running on localhost from iPhone browser here is the something you might be looking for.

or if you want to test your site on different devices http://quirktools.com/screenfly/ this link might be helpful ;)


Head over to this site (http://xip.io/) and in your vhost setup the following replacing the IP address with your local IP:

#mysite.local<VirtualHost *:80> DocumentRoot "/Users/me/Sites/Development/mysite/www" ServerName mysite.local ServerAlias mysite.local.192.168.1.81.xip.io  <Directory "/Users/me/Sites/Development/mysite/www">    Options Indexes FollowSymLinks    AllowOverride All    Order allow,deny    Allow from all </Directory></VirtualHost>

Then on your device head over to mysite.local.192.168.1.81.xip.io


The easiest way is to connect your mac and iphone to the same WiFi network. Then get your IP address from System Preferences | Network. It will be shown in the status section and will probably look something like 10.10.5.100.

Then on the iphone go to http://10.10.5.100:8800