Use xip.io with a home-grown Apache VirtualHost setup
- Start here.
- Add a
ServerAlias
line to your VirtualHost definitions.
<VirtualHost *:80>
DocumentRoot "/Users/you/Sites/sitename"
ServerAlias sitename.*.xip.io
ServerName sitename.dev
</VirtualHost>
Then you'll be able to browse to sitename.[IP address].xip.io on your iPhone or what-have-you as long as you're on the same network.
This is a Solutions Log post.