ewan-colyer

Mar 18th, 2017 12:44 AM

So ive installed MAMP, ive changed the port to 80 for apache, created a new host and an alias for it, then i open chrome and go to that alias "site.dev" and chrome says

"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"

But yet i go to another browser, edge as an example and it works fine, anyone else had this issue and managed to fix it or am i going to have to ditch chrome for this case?

devdojo

Mar 18th, 2017 05:00 PM

It looks like you may be having a name collision with another existing domain.

Have you tried using another domain name for your virtual host mywebsite.dev, and see if that works.

Also make sure that the record exists in your /etc/hosts, you should see any entry that looks similar to:

127.0.0.1  site.dev

Let me know if that helps :)

Thanks!

ewan-colyer

Mar 18th, 2017 05:25 PM

wierd, i started it up today. The alias had been removed, so i added it back and it worked fine. Thanks anyway :)

devdojo

Mar 20th, 2017 05:35 PM

No problem :)

Glad to hear it all go worked out. Let me know if you have any other questions.