How does your browser take those few letters of URL and turn them into a fully functional webpage in seconds?
Table of contents
Internet
It is a network of interconnected devices (computers, servers, smartphones) worldwide. It works as client-server on different protocols at each stages.
From URL to Webpage
Flowchart of Internet
User enters kuchbhi.com in Browser (user agent). then DNS server converts URL into IP address (142.250.190.46) of that websites server ( if IP address is already stored in cache memory then DNS level is skipped).
TCP Handshake is established between client (browser) and sever.
SYN : device sends a request to start connection.
SYN-ACK : server acknowledges the request.
ACK : device confirms and connection is established.
Browser send HTTP request to server for asking webpage resources. Based on use TCP or UDP is selected. TCP (Transmission Control Protocol) is reliable but slower, it is used for task like web browsing, emails, file transfers because sequence of data packets in important. UDP (User Datagram Protocol) is faster but not reliable, it is used for tasks like zoom meets, live streams because sequence is not important but speed is important.
Server process request and sends the headers, sequence of data packets and actuals data ( HTML, CSS and JavaScript) to browser then browser renders the data into webpage. Finally kuchbhi.com is ready to view on browser.