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\etc
to jump to the etc directory. Then you can see the etc directory of the file, it might look like the following: -
In the screenshot above you you have seen the hosts file, use Notepad to open this file
-
-
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.