Analysis Browser input domain name to the Web page show this process

Source: Internet
Author: User

1. For example, if we enter www.hactcm.edu.cn in the browser and enter, the browser will first look in the local Hosts file (located in C:\Windows\System32\drivers\etc) to see if the domain name and its corresponding IP address exist. If it exists, it will start to access this IP address. If it does not exist then send the domain name to the domain name resolution server, and then the domain name resolution server will resolve the IP address returned, the browser to access this address. Let's start experimenting with it:

① I first ping the www.hactcm.edu.cn test, and then learned that the IP address is 211.69.32.50, with the Ipconfig/all command to know that the DNS address is 211.69.32.10.

This time to visit the site, we found that the site can be accessed normally.

② at this point, I will change the DNS arbitrarily a value of 1.1.0.0, and then go to visit this site found to be unable to access the normal.

③ at this point, locate the hosts folder under C:\Windows\System32\drivers\etc, and then add a record to the host file.

④ at this time, again to visit the www.hactcm.edu.cn, found that the site can be normal access.

Analysis Browser input domain name to the Web page show this process

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.