Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Gabriela Dzenutis
Gabriela Dzenutis
457 Points

ERR_ICANN_NAME_COLLISION .dev account

I'm having trouble accessing my website created on a local server. I get the message:

"This site can't be reached This site on the company, organization or school intranet has the same URL as an external website. Try contacting your system administrator. ERR_ICANN_NAME_COLLISION"

Any advice/step-step solutions? Note: the URL was firstname.dev but I changed it to firstnamelastname.dev while logged into firstname.dev on local WordPress. Than the next day when I tried to go back in to log in via /wp-admin, I got this message. I've tried both URL's. I have a Mac. Also, it's not working on Safari, Chrome or Firefox.

1 Answer

Steven Parker
Steven Parker
231,269 Points

Apparently ".dev" is now an actual TLD and no longer reserved for internal use. Try using ".local" instead.

Gabriela Dzenutis
Gabriela Dzenutis
457 Points

Still no luck. I tried:

  • Editing host file within terminal by changing IP address, domain name, .dev to .local, #local site etc....
  • Deleting SSL certificate in keychain access
  • Utilizing Local by Flywheel (still a possibility)
  • Rerunning Apache/MySQL

It seems like the solution is different for everyone with this error on forums. I personally decided to start over by re-downloading the desktop server. It showed that I still had two sites. I deleted one, and "moved" another. If anyone finds a better solution, I'd love to hear as I'm still skeptical of this problem reoccurring.