Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am developing a web site and would like to check how it looks on my iPad and iPhone. Is there a way I can set up my mac and devices so that I can develop the web site locally, but view it on my devices over the local wifi?

I'm looking to replicate the functionality whereby you can just save an HTML file in your text editor and press refresh in the browser and the page updates, except that the browser in question will be on my iPhone.

I'm running Lion and everything is connected to the same network, which uses a time capsule as a base station. I know very little about networking.

share|improve this question
up vote 4 down vote accepted

Enable the web server on your Mac via System Preferences: enter image description here

You can then save the file in your Personal Website folder, as described in System Preferences. Use the supplied URL on both your Mac and on your iOS devices. The System Preferences panel will walk you through it fairly well.

share|improve this answer
Fantastic. I had no idea it would be that easy! – jrturton Jan 2 '12 at 19:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.