Search code examples
apachevhostsmacos-high-sierra

Mac os High sierra vhost


I've been working with apache vhost but after updating to mac os high sierra I have this issue and I made all the configuration:

If I enter this url, it works :

http://localhost/~macbook/planning/public/login

enter image description here

but if enter this one that I was using :

planning.dev

It becomes https://planning.dev and is not working

enter image description here


Solution

  • There are nothing to do with macOS High Sierra. This is known as a change for .dev domain on Chrome browser from version 63.

    People was discussing about this from How to stop Chrome from redirecting to HTTPS?

    Your https://planning.dev domain was forced under HTTPS connection automatically.

    The temporary workaround is

    • switch to another dev domain (.test, .example, .invalid or .localhost), you might also have to adapt them in your /etc/hosts file.
    • using local IP (10.0.0.x, 192.168.x.x, ...)
    • using loopback IP 127.0.0.1