What happens when you type a URL in the browser and press enter?

Image for post
Image for post

1. You type maps.google.com into the address bar of your browser.

2. The browser checks the cache for a DNS record to find the corresponding IP address of maps.google.com.

3. If the requested URL is not in the cache, ISP’s DNS server initiates a DNS query to find the IP address of the server that hosts maps.google.com.

Image for post
Image for post

4. The browser initiates a TCP connection with the server.

5. The browser sends an HTTP request to the webserver.

Image for post
Image for post

6. The server handles the request and sends back a response.

7. The server sends out an HTTP response.

Image for post
Image for post

8. The browser displays the HTML content (for HTML responses, which is the most common).

Experience with Front-end Technologies and MERN / MEAN Stack. Working on all Major UI Frameworks like React, Angular.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store