Zend Framework issue: Cannot parse DNS?

Source: Internet
Author: User
Tags domain name server zend framework
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!


Reply to discussion (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

Restart the computer, the fault is still!

This is a little bit more than I understand.

Domain name can not be resolved to not go to Apache, only stay in DNS problems
DNS parsing order is DNS Cache,hosts,dns
Even if I have access to the Internet directly, myzf.com can parse it.

So you should have the software to take over the DNS resolution, whether through proxy or domain or other software can not know

"Domain name cannot be resolved"?
Who reported the mistake?
URLs that do not exist in the browser are displayed at most pages not found.

Thanks to 2 great gods!
The error page is as follows:

Internet Explorer cannot display this page

Here are some things you can try:
Diagnosing connection problems

More information

This problem may be caused by various issues such as the following:

? The Internet connection has been lost.
? The site is temporarily unavailable.
? Cannot connect to the domain name server (DNS).
The Domain name server (DNS) does not have a list of domains for that site.
? There may be a typing error in the address.
? If this is an HTTPS (secure) address, click Internet Options under the Tools menu, click the Advanced tab, and then check to make sure that the SSL and TLS protocols are enabled under the Security section.

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

The Hosts file has no problems with the following:

127.0.0.1 myzf.com
127.0.0.1 localhost
127.0.0.1 test.com

How does Firefox test

Creating project with the Zend Framework seems to prompt PHP errors, is there any impact?

D:\zendframework-1.11.10\bin>zf.bat Create Project D:\myzf
PHP warning:php startup:unable to load dynamic library ' c:/appserv\php5\ext\p
Hp_exif.dll '-The specified module could not be found.
In Unknown on line 0
Creating Project at D:/myzf
Note:this command created a Web project, for more information setting up your V
HOST, please see Docs/readme
Testing Note:phpunit was isn't found in your include_path, therefore no testing a
Ctions'll be created.

How does Firefox test

I use the same 360 question.

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.

1, can ping pass;
2. My project only 1 pages, I am a beginner, what did not write, want to see Zend Framework interface, the result is wrong, depressed! I don't know what the brother said. How to test vhost is effective? Thanks a lot!

Your Apache's not even set up, right? I thought you were familiar with Apache, using the VirtualHost mode, I said the Vhost file is httpd-vhosts.conf specific how to configure Apache, Google a lot of tutorials.

My development environment is Appserv-win32-2.5.10.exe installed, there is no problem, right?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.