What happens when you type a URL in a browser
Nowadays you all are quite good at understanding the digital world and everyone, even my late grandfather, knows what a website is? Reduce some number and those humans know what servers are. Then reduce a more number then those tech related guys know what IP is.
In today’s world, people often use mobile apps where they are not entering anything called URLs or keywords to search (like in 90’s we do).
But, everyone uses browsers right.
You enter a url just say https://www.digitalullu.com/notes, your browser try to figure out which server on the internet is hosting the website. And it checks this by taking a look in the domain, digitalullu.com, to find the address.
Everyone needs an address, so why not every device connected to the internet. Each device on the Internet — servers, cell phones, your smart refrigerator — all have a unique address called an IP address. An IP address contains four numbered parts: 102.0.29.0
And if we go with numbers, we all are not good like Ramanujan.
So, some good humans like Mockapetris (The Domain Name System (DNS) was invented by computer scientist Paul Mockapetris in 1983) created a way to help normal humans to remember the addresses. And, every name like digitalullu.com, zerontech.com etc are connected to some IP (internet Protocol) address.
The flow is now here –
Step 1: You type https://www.digitalullu.com/notes in your browser and hit enter
Step 2: Browser like Chrome looks up IP address for the domain
Step 3: Chrome then initiates TCP connection with the server
Step 4: Browser sends the HTTP request to the server
Step 5: Server process the request and sends back a response
Step 6: Browser renders the content
