Intro:
Whenever we type a URL in the address bar of browser, what it will do is, it will first check the system hosts file located in C:\Windows\System32\drivers\etc\, if the domain name is there or not. If the respective domain name is found then it compares the IP address in the corresponding field and direct the page to the corresponding IP address.