Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 3 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
add comment

Your Answer

 
discard

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.