ERR_NAME_NOT_RESOLVED

时间:2017-08-31 18:41:22

标签: php html apache virtualhost laragon

有什么想法?

enter image description here

 <VirtualHost *:80> 
DocumentRoot "C:/laragon/www/monetize/public/"
ServerName monetize.app
ServerAlias *.monetize.app
<Directory "C:/laragon/www/monetize/public/">
    AllowOverride All
    Require all granted
</Directory>

Apache 2.4.27 拉拉贡完整3.1.4 Windows 8.1 DNS我在互联网选项8.8.8.8和8.8.4.4中设置

enter image description here

1 个答案:

答案 0 :(得分:4)

您需要在hosts文件中添加一个条目

127.0.0.1 monetize.app
localhost monetize.app