The Computer Oracle

ERR_ICANN_NAME_COLLISION when trying to use localhost .dev in Chrome

-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Luau

--

Chapters
00:00 Question
01:22 Accepted answer (Score 18)
01:59 Answer 2 (Score 2)
02:15 Answer 3 (Score 2)
02:43 Answer 4 (Score 2)
03:04 Thank you

--

Full question
https://superuser.com/questions/919278/e...

Question links:
[recent news]: http://tech.slashdot.org/story/15/02/28/...

--

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

--

Tags
#localhost

#avk47



ACCEPTED ANSWER

Score 18


The pseudo domain name(s) you are using are being registered as a new top level domain.

The DNS returns 127.0.53.53 which is a signal that this TLD is being registered by someone. Chrome versions from M43 have a this new way of relaying the error message to the user.

Use a domain name you own. Possibly using the full name like "localhost.dev.$yourdomain" could help you here depending on your setup.




ANSWER 2

Score 2


It appears that Google wants to use .dev only for internal puposes. Under that assumption it seems to be safe to host a "fake" dev zone on your internal DNS server




ANSWER 3

Score 2


ICANN has released new public gTLD-s, such as .dev. You can either add the local address to your C:\\Windows\System32\Drivers\etc\hosts file or change the site's address in your web server config file.




ANSWER 4

Score 2


Use example.local instead of example.dev and it works for me.