I have a PHP application running on wamp3. I have being able to enable people of my local network getting access to the application while typing 192.168.2.22/myapps. I'm looking how to make them instead type www.myapps.dev for to get access to the application.
Asked
Active
Viewed 69 times
-1
-
2Possible duplicate of [How can I access my localhost from my Android device?](https://stackoverflow.com/questions/4779963/how-can-i-access-my-localhost-from-my-android-device) – Mohammad Jun 01 '17 at 08:13
-
This is one solution https://stackoverflow.com/questions/43016713/wampserver-access-server-from-mobile-phone/43018881#43018881 – RiggsFolly Jun 01 '17 at 11:45
1 Answers
0
French speaking to... but answer will be in English ;)
So, in order to access a server, you need its IP.
First way to access
Like you already do, directly through the IP
Common way to access
The user is calling a DNS name which is translated by an IP using a DNS server. Using this technique will imply technical abilities in server management and networking.
Developer way
The user configures the specified host on his terminal. On Linux and Android, you can update /etc/hosts file in order to add IP / DNS correlations. You may find "Hosts editor" application in Play Store.
Note that this technique won't be available for iOS users.

Dominique Vienne
- 405
- 2
- 9