Google Chrome virtual hosts not working with ERR_NAME_NOT_RESOLVED error after update

后端 未结 4 1021
离开以前
离开以前 2021-02-01 07:45

I started getting this error for all my local virtual hosts on apache in the morning when I updated my Chrome to the latest version on ubuntu.

While all of them work on

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-01 08:03

    For me is working this:

    In hosts:

    127.0.0.1 localhost.
    ::1 localhost.
    fe80::1%lo0  localhost.
    

    And In httpd.conf:

    
      DocumentRoot "D:/Apache/htdocs/projects/some-project-root"
      ServerName some-project.localhost
    
    

    Important is write to VirtualHost tag "localhost", "127.0.0.1" does not works in chrome.

提交回复
热议问题