Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ronslow

macrumors newbie
Original poster
Jun 8, 2011
2
0
As per the title.

If I want to demo a website that is hosted on a macbook web server from an iPhone/iPad ... and all I will have with me is the macbook and the iPhone/iPad .. no internet connection, no wireless routers etc.

How can I do that?

Thanks
 
Assuming that your wireless is working on the MacBook and the web server on the MacBook is configured correctly it should be easy.

You'll have to create a computer-to-computer network via the Airport menu in the menu bar. Then, in Sharing preferences, turn on Internet Sharing, sharing your connection from Built-In Ethernet (which actually won't be connected to anything in your case, of course). In the "To computers using:" area, select Airport and everything else except Built-In Ethernet. If your firewall is on you should probably turn it off.

Now, on the iPad/iPhone select the new network in your WiFi settings and make note of the router IP address that eventually appears. That should be the address of your MacBook's website. If you get assigned an IP that starts with 169 then something is awry.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.