Tuesday, August 5, 2014

Test the same local IIS web sites you may test at your PC at your iPhone and iPad!

The trick is to get your iOS device to look to your PC's hosts file and then use the hosts file to route requests. You will first need the local IP from your PC and you may get this by opening a command prompt, typing "ipconfig" and making note of the "IPv4 Address" that comes back in the results. Once you have this do the following at your iPhone or iPad:

  1. Go to "Wi-Fi" under settings.
  2. You will see a lot of nothing here if the "Wi-Fi" setting is just switched off. Switch it on if it is not on.
  3. You should see a list of networks. Connect to your workplace's wireless.
  4. You will either be taken to a screen of settings for the particular wireless network or just stay at the list of all wireless networks depending upon whether or not you've connected to the wireless network before. Either way, you will want to next up get to the settings for the particular wireless network. If you do not fall over there automatically, you may, from the list of all networks, touch the icon at the far right of the line item for your network. This will either look like a lowercase letter i inside of a circle or a greater than sign inside of a circle depending upon how old your iOS is. The act of touching this icon will take you to the settings for the applicable network.
  5. At the bottom of the settings is an "HTTP Proxy" subsection with three tabs labeled Off, Manual, and Auto. Click on the Manual tab.
  6. At the "Server" setting, enter your "IPv4 Address" value. It didn't seem to make a difference for worse or better for me if the "Port" setting was empty, zero, or eighty.
  7. Use the rightward pointing arrow at the top of the settings to walk backwards to the list of all wireless networks. This should save your change and your iOS device should now be using your PC's hosts file first now whenever it tries to find a web site.
  8. Test your web sites.

No comments:

Post a Comment