15

With Bonjour installed in PC, I can access my server in Mac with ".local". For example, I can access my mac with the name "prosseek.local".

The problem is that in Chrome for PC, it doesn't recognize "local" to open search page instead of accessing mac server.

This issue isn't happening with other web browsers (explore/firefox) in PC. What is even wierder is that chrome seems to recognize the ".local" sometimes, but not always.

How to solve this issue? Or, how can I teach chrome that ".local" is a part of page name in order not to direct to search page?

ADDED

It seems that this problem has been a while, so I think google is not that interested in solving this issue which is a show stopper to prevent using chrome.

http://code.google.com/p/chromium/issues/detail?id=30636

I found other web pages, but not so useful in solving this issue

prosseek
  • 6,054

3 Answers3

10

Call your .local domain once in Chrome prepending it with the http:// or https:// scheme (e.g.: http://mywebsite.local ).
This will avoid the Google search and instead will call your local website.

You only need to do this once. From this moment on you can enter the local URL without http:// or https:// and it will still be loaded locally (e.g.: mywebsite.local ).

Jpsy
  • 525
7

Another solution is to just add a / at the end. For example, type mywebsite.local/ in the address bar and hit Enter. You don't even need to write http:// or https:// at the beginning.

Jalal
  • 171
6

Add it to C:\Windows\System32\drivers\etc\hosts (be sure to open as Administrator so you have access to write to that file)

127.0.0.1 prosseek.local

then run

ipconfig /flushdns

and you should be able to

ping prosseek.local

Note: if chrome still ignores the hostname just add a trailing forward slash, e.g. prosseek.local/ which will bypass the search. Source: https://code.google.com/p/chromium/issues/detail?id=30636