0

This question already has an answer here:

I can access a internal address using http://companyweb which redirects to http://companyweb/default.aspx from my windows desktop fine. I can also access http://companyweb on my iphone. However, when I type "http://companyweb" on my android device it searches the internet. If I type http://companyweb.domain.local, the default IIS7 (internet information service - windows web server) homepage is displayed. They are all connected to the same wireless network. How can i get android to connect to this site?

Thanks

marked as duplicate by Izzy, Dan Hulme, Chahk, ale, ce4 Oct 29 '13 at 22:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I think i realized the problem now. Apple and my windows desktop both use DNS suffix's and android doesn't. How do i enter suffixes in android? – resolver101 Oct 29 '13 at 13:20
  • 1
    The problem is slightly different: Android always uses Google's name servers for name-to-IP conversion, even when an DHCP server suggests differently. Google's name servers cannot resolve your intranet-only names. So to make this work, you will need to change the corresponding configuration. See the first question linked by GAThrawn for details. – Izzy Oct 29 '13 at 15:27
  • Confirmed my doubt: getprop | grep -i shows my local dns as primary and google's as secondary. I bet this issue has to do with Chrome's omnibar (the combined search and uri input box) that detects it erronously as a search instead of an URI. – ce4 Oct 29 '13 at 22:29
  • 1
    @Izzy: not true, on my localnet http://server doesn't work while http://server.lan:8080 does. And by the way, this would break all intranet related networking that depends on DNS. Isnt AOSP itself pretty much Google agnostic whithout the gapps package. Has one tried Firefox? – ce4 Oct 29 '13 at 22:33