Hi,
We must stop thinking that the creation of a local site accessible from the local server, even if created as VirtualHost, can be accessed from any other PC or smartphone around the world.
To access the sites around the world, you must pass through a DNS :
Domain Name System (or Service or Server), an Internet service that translates domain names into IP addresses. Because domain names are alphabetic, they're easier to remember. The Internet however, is really based on IP addresses. Every time you use a domain name, therefore, a DNS service must translate the name into the corresponding IP address. For example, the domain name www.example.com might translate to 198.105.232.4.
Is there a DNS server on your machine?
No.
This is why you have as a response to your connection attempt: server: dns address could not be found
Creating local sites as VirtualHost is the first necessary but not sufficient step.
The second thing to do is to allow the VirtualHost to be accessed from IPs other than the local ones.
If you have created your VirtualHost in the right way, you should have for this one, in the structure <Directory ....> ... </ Directory> the Apache directive
Require local
to which you must add the access authorization directive from some LAN IP, including that of your Android smartphone to obtain:
Require local
Require ip 192.168.0
it being understood that 192.168.0 gives the range of the IP in which is that of your smartphone in the LAN
the third thing to do is, from the smartphone, to call the site on the LAN IP address of the PC that contains the local server with the site, for example:
'http://192.168.0.10/mysite/'
192.168.0.10 is the LAN IP of the PC.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons