<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Natnael Dejene on Medium]]></title>
        <description><![CDATA[Stories by Natnael Dejene on Medium]]></description>
        <link>https://medium.com/@natnaeldejene6748?source=rss-398cf54f873c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*uynxZ7ipuzhvFXql</url>
            <title>Stories by Natnael Dejene on Medium</title>
            <link>https://medium.com/@natnaeldejene6748?source=rss-398cf54f873c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 00:34:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@natnaeldejene6748/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Happens When You Type google.com in Your Browser and Press Enter?]]></title>
            <link>https://medium.com/@natnaeldejene6748/what-happens-when-you-type-google-com-in-your-browser-and-press-enter-ff9bfe13e4f7?source=rss-398cf54f873c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff9bfe13e4f7</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[full-stack]]></category>
            <dc:creator><![CDATA[Natnael Dejene]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 16:20:34 GMT</pubDate>
            <atom:updated>2024-07-17T16:20:34.934Z</atom:updated>
            <content:encoded><![CDATA[<p>Inputting a website domain name into your browser initiates a series of events that make the web page appear on your screen. Let’s break down what happens when you type <a href="https://www.google.com/">https://www.google.com</a> and press Enter.</p><h4>DNS Request</h4><p>When you type <a href="https://www.google.com/">https://www.google.com</a> into your browser and press Enter, the first step is to determine the IP address associated with the domain name google.com. This is done through the Domain Name System (DNS).</p><ol><li><strong>Browser Cache</strong>: First, the browser checks its cache to see if it has recently accessed google.com and stored the IP address.</li><li><strong>Operating System Cache</strong>: If not found, the browser queries the operating system’s cache.</li><li><strong>ISP’s DNS Resolver</strong>: If the IP address isn’t in the OS cache, the request is sent to the DNS resolver provided by your Internet Service Provider (ISP).</li><li><strong>Root Name Servers</strong>: The DNS resolver queries the root name servers, which direct it to the appropriate Top-Level Domain (TLD) name servers (e.g., .com).</li><li><strong>TLD Name Servers</strong>: The TLD name servers then point to the authoritative name servers for google.com.</li><li><strong>Authoritative Name Servers</strong>: These servers contain the actual IP address for google.com and return it to the DNS resolver, which sends it back to your browser.</li></ol><h4>TCP/IP Connection</h4><p>Once the IP address is known, your browser needs to establish a connection to the server. This is done using the Transmission Control Protocol (TCP) over the Internet Protocol (IP).</p><ol><li><strong>TCP Handshake</strong>: The browser initiates a TCP connection with the server using a process called a three-way handshake. It sends a SYN (synchronize) packet to the server, the server responds with a SYN-ACK (synchronize-acknowledge) packet, and the browser replies with an ACK (acknowledge) packet.</li></ol><h4>Firewall</h4><p>Firewalls protect both your network and the server’s network. They inspect incoming and outgoing traffic to ensure it’s safe.</p><ol><li><strong>Client-Side Firewall</strong>: Your firewall checks the outgoing request to ensure it’s allowed.</li><li><strong>Server-Side Firewall</strong>: The server’s firewall checks the incoming request to ensure it’s not malicious.</li></ol><h4>HTTPS/SSL</h4><p>Since you are connecting to <a href="https://www.google.com/">https://www.google.com</a>, an encrypted connection using HTTPS and SSL/TLS is established to ensure data security.</p><ol><li><strong>SSL Handshake</strong>: The browser and the server exchange SSL certificates to verify each other’s identity. The server’s certificate is issued by a Certificate Authority (CA).</li><li><strong>Encryption</strong>: Once verified, an encrypted connection is established using symmetric encryption for the session.</li></ol><h4>Load Balancer</h4><p>Google’s infrastructure uses load balancers to distribute incoming traffic across multiple servers.</p><ol><li><strong>Traffic Distribution</strong>: The load balancer receives the request and decides which server should handle it based on various algorithms (e.g., round robin, least connections).</li><li><strong>Redundancy and Failover</strong>: If one server is busy or down, the load balancer redirects the traffic to another available server.</li></ol><h4>Web Server</h4><p>The chosen server from the load balancer acts as the web server, responsible for handling the HTTP request.</p><ol><li><strong>Static Content</strong>: The web server serves static content (e.g., HTML, CSS, JavaScript files) directly to the browser.</li></ol><h4>Application Server</h4><p>For dynamic content, the web server interacts with the application server.</p><ol><li><strong>Processing Logic</strong>: The application server runs the server-side code, processes business logic, and generates dynamic content.</li><li><strong>Middleware</strong>: The application server often interacts with various middleware services to handle complex tasks.</li></ol><h4>Database</h4><p>Finally, the application server may need to fetch or store data in a database.</p><ol><li><strong>Query Execution</strong>: The application server sends queries to the database to retrieve or update data.</li><li><strong>Response</strong>: The database returns the requested data, which the application server uses to generate the final content sent back to the web server.</li></ol><h3>Conclusion</h3><p>All these steps happen within milliseconds, resulting in the web page appearing on your screen. From DNS resolution to database queries, each component plays a crucial role in delivering a seamless browsing experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff9bfe13e4f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>