After setting up Apache virtual hosts with hostnames "server1" and "server2", how can I access them using my iPhone (or any mobile device), since there is no way to change the / etc / hosts file in iOS or Android?
I understand that you need to refer to virtual hosts by name (assuming you only have 1 IP address on your physical server), but there is no way to map these virtual host names to the same IP address on my physical server.
I run my server on my laptop using MAMP, and my Vonage / Apple Airport router does not support DNS. Do I need to configure a local DNS server? Is there an easy way to run this on my laptop? Thanks.
source share