my webserver software is nginx which runs very well on macbook air using mac os x 10.7.5
when i go to http://myapp.localhost on my macbook air, i can access my website perfectly which is running on localhost.
how can i access the website from my iPad? I am asking because i want to test if my website allows tablet to access just as well on desktop browsers.
i have two possible setups.
1) macbook air running HUAWEI-MOBILEModem and using INTERNET SHARING to allow the iPad to access.
2) when both macbook air and iPad are accessing the same WIFI connection.
Please provide solutions for both scenarios.
UPDATE: i have more than 1 app running on my macbook air nginx webserver.
for conveniences, let's call them
How can my iPad access the correct webapp hosted on my macbook air?
on my macbook air, i access different webapps because i edited my /etc/hosts file.