August 2011
Testing Mobile Sites on Your Phone Locally
Tue, 08/02/2011 - 18:13 — MarkIf you're like me, most of your work day is spent working on a local copy of a site. I have my local computer set up where each site lives at sitename.dev alias, but ran into problems when I realized I needed to test my site from my iPhone, but couldn't edit the hosts file there.
I spent WAY too long looking at Charles, Wireshark, and various other proxy related tools when a simple settings change solved my problem.
Step 1:
Connect your phone and computer to the same wireless network.
Step 2:
Go to your wireless networks settings page and look for 'HTTP Proxy' at the very bottom.
Step 3:
Type your computers local network IP address for Server, and 80 for the port.
You are now using your computer for HTTP requests including your custom hosts file.
