The Computer Oracle

PC version of Google Chrome doesn't recognize ".local" domain name

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Quirky Dreamscape Looping

--

Chapters
00:00 Pc Version Of Google Chrome Doesn'T Recognize &Quot;.Local&Quot; Domain Name
01:17 Answer 1 Score 10
01:50 Accepted Answer Score 6
02:31 Answer 3 Score 6
02:52 Thank you

--

Full question
https://superuser.com/questions/440464/p...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#googlechrome #zeroconf #mdns

#avk47



ANSWER 1

Score 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 ).




ACCEPTED ANSWER

Score 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




ANSWER 3

Score 6


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.