The title says it all. As you can see in screenshot I can successfully access apache using hostname I tried in in different computer same result. But when i use my mobile phone it says "site can't be reached." I tried pinging it in my phone but no luck. Please can u help me whats the problem here?
I guess if you have to access via hostname you have to edit your host file on android so that it can know the hostname and redirect to the IP address of Pi
Add a line in
hosts file with
IP-address-of-Pi hostname(name by which you want to access pi)
I think to edit hosts file your device should be rooted
here are few links which might help
Hope it helps!