Zend Framework issue: Cannot parse DNS?
I developed PROJECT:MYZF under Zend studio9.0.3, modified Apache httpd.conf, httpd-vhost.conf and other related content, and added 127.0.0.1 in the hosts myzf.com, restarted Apache.
After entering http://myzf.com in IE, prompt: "Domain name cannot be resolved"?
Thanks a lot!
------Solution--------------------
It's very strange ... In theory only the DNS cache takes precedence over the hosts, and the DNS cache fails to parse will necessarily check the hosts
First restart IE, no, then restart the computer to try
------Solution--------------------
That's an invalid URL.
Your hosts are wrong, right? Perhaps you did not modify its read-only property, the modification is invalid?
127.0.0.1myzf.com
------Solution--------------------
1. Ping the myzf.com to exclude if the hosts file does not take effect
2. In Apache more configuration a vhost, make a single page of the Vhost, see if it is Vhost file does not take effect, to exclude whether the simple hint is incorrect.
If the problem is 1, follow the firewall, virus and other ideas to check
If it's a question of 2, check it yourself carefully.