What Happens When You Type google.com
- Vipul Kumar
- Tech explained , Internet
- October 30, 2024
Table of Contents
What Happens When You Type google.com
🌐 URL Entry — When you type ‘google.com’ into your browser, it initiates a series of backend processes to display the webpage.
🔍 DNS Lookup — The browser first performs a DNS (Domain Name System) lookup to translate the human-readable domain name into an IP address.
📡 TCP/IP Connection — With the IP address, the browser establishes a connection using the TCP/IP protocol, ensuring reliable data transfer.
🔒 HTTPS/SSL — The connection is secured using HTTPS, which involves SSL/TLS protocols to encrypt data between your browser and Google’s server.
🖥️ Webpage Rendering — Once the server responds, the browser renders the webpage using HTML, CSS, and JavaScript to display the content.
DNS and IP Address
🔍 DNS Function — The Domain Name System acts like the internet’s phonebook, translating domain names into IP addresses.
📞 IP Address — Each website has a unique IP address, which is used to locate the server hosting the website.
🗂️ DNS Cache — Browsers often store DNS records in a cache to speed up future requests for the same domain.
🌐 DNS Servers — If the browser’s cache doesn’t have the record, it queries DNS servers to find the IP address.
🔄 Recursive Lookup — DNS servers may perform recursive lookups, querying other servers to resolve the domain name.
Connection Protocols
🔗 TCP/IP Suite — The Transmission Control Protocol/Internet Protocol ensures data is sent and received accurately.
🤝 TCP Handshake — A three-step process (SYN, SYN-ACK, ACK) establishes a reliable connection between client and server.
📡 IP Routing — IP is responsible for routing data packets to the correct destination across networks.
🔒 SSL/TLS — Secure Socket Layer/Transport Layer Security encrypts data, ensuring privacy and security.
🔑 HTTPS — Hypertext Transfer Protocol Secure uses SSL/TLS to protect data exchanged over the web.
Webpage Rendering
🖥️ HTML Parsing — The browser parses HTML to structure the webpage content.
🎨 CSS Styling — Cascading Style Sheets are applied to style the webpage, affecting layout and design.
🖱️ JavaScript Execution — JavaScript adds interactivity and dynamic content to the webpage.
📄 Document Object Model — The DOM represents the webpage structure, allowing scripts to interact with it.
🔄 Rendering Engine — The browser’s rendering engine processes HTML, CSS, and JavaScript to display the final webpage.
Follow me on: LinkedIn | WhatsApp | Medium | Dev.to | Github