Windows system to add and modify methods hosts bound

hosts binding role is to point to one or more domain name to an IP address.
General users in the test scenario.

  • Open My Computer, in the address bar: C:\WINDOWS\system32\drivers\etcto jump to the etc directory. Then you can see the etc directory of the file, it might look like the following:

    • image
  • In the screenshot above you you have seen the hosts file, use Notepad to open this file

    • image

      • image
  • In the last line of the following Add file, then save the file to complete the binding operation hosts. Complete the binding will be able to forward the request through the browser to access the domain name directly to the binding of the IP.

    • image

Guess you like

Origin yq.aliyun.com/articles/706009