What happens when a URL is typed in a browser
This interview question explains what happens internally when a URL is typed on a browser.
This is a sample question from the ebook – 250 Network Administrator Interview Questions and Answers – Click here
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.
250 Network Administrator Interview Questions and Answers – Click here