I usually do development / testing on my local Mac / MAMP installation and then access it from my smartphone / tablet by simply entering the correct IP address when the devices are on the same network.
However, I am also often in situations where I need to demonstrate or test my web applications in places where there is no Internet and my devices are not on the same network. What could I do then?
So, I would like to do the following:
- My Mac works as a local server (MAMP)
- My Mac (apparently) acts as a hotspot transmitting a network via Wi-Fi.
- The ability to connect to this network (via WiFi) from my iPhone / iPad
- Access local Mac MAMP sites through a browser from my iPhone / iPad (without "Internet")
Again, there is no "real" Internet or other AP. It would be ideal if my Mac could also act as a DHCP server (therefore, automatically assign IP addresses to devices connected via WiFi), but if it is too complicated, I will just enter the static IP addresses manually. BTW I don't need any fancy stuff like local domain names - only the IP addresses are ok :)
Any ideas on how you can accomplish something like this? If it is necessary or it simplifies or speeds up this workflow, I also do not go beyond other software to do this.
By the way, I had high hopes for this solution , but it seems incomplete, since my devices still report that there is no Internet on the network and they refuse to connect. The built-in Mac connection sharing can also help in some way (not sure yet?), But what kind of connection can be shared if they are all offline?
source share