Problems setting up a local site I am running into problems with virtual hosts while trying to run Craft locally.
My setup was working perfectly and after a restart of my mac I get error messages and I don't understand why.

I am using Mamp to run Apache and MySQL.
When I am going to one of my virtual host url I get the following error:



And when I type 'localhost' I get the following:



I have double checked the httpd.conf and the virtual hosts is enabled and my httpd-vhosts.conf is set up correctly as well.

I assume there is a certain issue with the virtual hosts as but I just cannot figure it out and it stop working without any changes/updates form my side so I'm really loosing it...

Does any one has an idea where to start searching for the problem?
You can't use the domain .dev anymore, it's Google's gTLD (https://icannwiki.org/.dev) and they don't want to share. See https://medium.engineering/use-a-dev-domain-not-anymore-95219778e6fd for a detailed backstory.

Instead, you should use the TLDs reserved by the IETF for this purpose, like .test.

For reference, this is the HSTS List maintained by Chromium which is in turn the basis for the lists used by Firefox, Opera, Safari, Internet Explorer and Edge