What happens when a URL is typed in a browser

This tutorial explains what happens when a URL is typed in a browser.

The content is a preview from the book – 250 Networking Interview questions and answers

Buy from Amazon

Take a scenario where you are accessing the internet at your home on your laptop.The laptop is configured behind a wireless router which is connected to the internet. You type http://www.tcpipguru.com on your browser. What exactly
happen The following are the list of events which happen before you see the home page of the website. Type the URL on the browser. A DNS query is sent to the DNS Server configured on the TCP IP adapter settings of the laptop. The DNS server responds with the IP address of the website. (This is the IP address of the server which hosts the
website). The TCP IP stack of the operating system initiates a TCP 3 way handshake with the IP address of the server. Once the handshake is successful, HTTP Get Message is sent by the TCP IP stack to the server. The server responds with the files and images of the home page of the website, which is displayed on the browser window.

The content is a preview from the book – 250 Networking Interview questions and answers