<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ehtesham Zahid</title>
    <description>The latest articles on DEV Community by Ehtesham Zahid (@ehtesham_zahid).</description>
    <link>https://dev.to/ehtesham_zahid</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4035155%2Fe6a2317c-ce3f-462e-a5c3-936302474606.png</url>
      <title>DEV Community: Ehtesham Zahid</title>
      <link>https://dev.to/ehtesham_zahid</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ehtesham_zahid"/>
    <language>en</language>
    <item>
      <title>Ever wondered what actually happens after you type google.com and press Enter? I put together an article that walks through the entire network request journey, covering DNS, TCP, TLS, HTTP, and more.</title>
      <dc:creator>Ehtesham Zahid</dc:creator>
      <pubDate>Sun, 19 Jul 2026 16:21:25 +0000</pubDate>
      <link>https://dev.to/ehtesham_zahid/ever-wondered-what-actually-happens-after-you-type-googlecom-and-press-enter-i-put-together-an-29hk</link>
      <guid>https://dev.to/ehtesham_zahid/ever-wondered-what-actually-happens-after-you-type-googlecom-and-press-enter-i-put-together-an-29hk</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8" class="crayons-story__hidden-navigation-link"&gt;What Actually Happens After You Type google.com and Press Enter?&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/ehtesham_zahid" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4035155%2Fe6a2317c-ce3f-462e-a5c3-936302474606.png" alt="ehtesham_zahid profile" class="crayons-avatar__image" width="800" height="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/ehtesham_zahid" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Ehtesham Zahid
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Ehtesham Zahid
                
              
              &lt;div id="story-author-preview-content-4173797" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/ehtesham_zahid" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4035155%2Fe6a2317c-ce3f-462e-a5c3-936302474606.png" class="crayons-avatar__image" alt="" width="800" height="800"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Ehtesham Zahid&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Jul 18&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8" id="article-link-4173797"&gt;
          What Actually Happens After You Type google.com and Press Enter?
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/networking"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;networking&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/software"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;software&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;1&lt;span class="hidden s:inline"&gt;&amp;nbsp;reaction&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              &lt;span class="hidden s:inline"&gt;Add&amp;nbsp;Comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            5 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial crayons-icon c-btn__icon"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success crayons-icon c-btn__icon"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>beginners</category>
      <category>interview</category>
      <category>networking</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What Actually Happens After You Type google.com and Press Enter?</title>
      <dc:creator>Ehtesham Zahid</dc:creator>
      <pubDate>Sat, 18 Jul 2026 12:45:58 +0000</pubDate>
      <link>https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8</link>
      <guid>https://dev.to/ehtesham_zahid/what-actually-happens-after-you-type-googlecom-and-press-enter-2id8</guid>
      <description>&lt;p&gt;Every day, we type a website into our browser, press &lt;strong&gt;Enter&lt;/strong&gt;, and a webpage appears almost instantly.&lt;/p&gt;

&lt;p&gt;It feels effortless.&lt;/p&gt;

&lt;p&gt;What looks like a simple page load is actually powered by decades of engineering that most of us never think about.&lt;/p&gt;

&lt;p&gt;Before your browser can even send its &lt;strong&gt;first HTTP request,&lt;/strong&gt; it has to answer a surprising number of questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Where is this website?&lt;/li&gt;
&lt;li&gt;How do I reach it?&lt;/li&gt;
&lt;li&gt;Can I trust it?&lt;/li&gt;
&lt;li&gt;How do we communicate securely?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Only after all of that can the webpage begin loading.&lt;/p&gt;

&lt;p&gt;Let's follow the journey of a single request and see what really happens after you type google.com and press &lt;strong&gt;Enter.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1: Finding Google's Address (DNS)
&lt;/h2&gt;

&lt;p&gt;When you type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;google.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;your browser has a problem.&lt;/p&gt;

&lt;p&gt;Computers don't understand domain names. They communicate using &lt;strong&gt;IP addresses.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So the browser's first job is to answer one question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"What is the IP address of google.com?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is exactly what &lt;strong&gt;DNS (Domain Name System)&lt;/strong&gt; is built for. Think of it as the Internet's phonebook that translates human-friendly domain names into IP addresses.&lt;/p&gt;

&lt;p&gt;Before asking the Internet, your browser first checks whether it already knows the answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browser cache&lt;/li&gt;
&lt;li&gt;Operating system cache&lt;/li&gt;
&lt;li&gt;Router cache&lt;/li&gt;
&lt;li&gt;Recursive DNS resolver&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If nobody has it cached, the DNS resolver begins the lookup:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2inqzfavchqoamot3om2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2inqzfavchqoamot3om2.png" alt="DNS Lookup Flow" width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Only now does your browser know where Google actually lives.&lt;/p&gt;

&lt;p&gt;One thing I found fascinating is that DNS isn't one massive server. It's a globally distributed system where every server is responsible for only a small piece of the puzzle, making it both scalable and incredibly reliable.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 2: Establishing a Reliable Connection (TCP)
&lt;/h2&gt;

&lt;p&gt;Knowing Google's IP address still isn't enough.&lt;/p&gt;

&lt;p&gt;Before any data can be exchanged, your browser needs to establish a reliable connection with Google's server.&lt;/p&gt;

&lt;p&gt;This is done using &lt;strong&gt;TCP's famous 3-way handshake:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Browser  →  SYN
Google   →  SYN-ACK
Browser  →  ACK
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Think of it as both sides agreeing:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"We're connected. Let's start talking."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;During this handshake, both the browser and the server synchronize important information like sequence numbers and connection state, ensuring that data is delivered &lt;strong&gt;reliably and in the correct order.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 3: Verifying Identity &amp;amp; Securing the Connection (TLS)
&lt;/h2&gt;

&lt;p&gt;At this point, your browser knows &lt;strong&gt;where&lt;/strong&gt; Google is and has established a reliable connection.&lt;/p&gt;

&lt;p&gt;But there's still one important question left:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"How do I know I'm really talking to Google?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Communication is also still unencrypted. If your browser immediately started sending passwords, cookies, or search queries, anyone sitting in the middle could potentially read them.&lt;/p&gt;

&lt;p&gt;That's why the next step is the &lt;strong&gt;TLS handshake.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;During this handshake:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google sends its digital certificate.&lt;/li&gt;
&lt;li&gt;Your browser verifies that it was issued by a trusted Certificate Authority and really belongs to google.com.&lt;/li&gt;
&lt;li&gt;Both sides securely agree on a shared encryption key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing I found really interesting while learning about TLS was that it doesn't use a single type of encryption.&lt;/p&gt;

&lt;p&gt;In reality, &lt;strong&gt;asymmetric encryption&lt;/strong&gt; (RSA or, more commonly today, Diffie-Hellman/ECDHE) is used to securely exchange a shared secret.&lt;/p&gt;

&lt;p&gt;Once both the browser and the server have that shared key, they switch to &lt;strong&gt;symmetric encryption&lt;/strong&gt; (like AES) for all subsequent communication because it's much faster.&lt;/p&gt;

&lt;p&gt;This was probably my favorite part of learning how &lt;strong&gt;TLS&lt;/strong&gt; works.&lt;/p&gt;

&lt;p&gt;It's such a clever design. Use &lt;strong&gt;asymmetric encryption&lt;/strong&gt; only to securely exchange the key, then switch to fast &lt;strong&gt;symmetric encryption&lt;/strong&gt; for everything else. You get the security of one and the speed of the other.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 4: Requesting the Webpage (HTTP)
&lt;/h2&gt;

&lt;p&gt;Now that your browser knows Google's IP address, has established a TCP connection, and has negotiated a secure TLS session, it can finally do what we all assumed it did from the start:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask Google for its homepage.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It sends an &lt;strong&gt;HTTP request,&lt;/strong&gt; essentially saying:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Can I have your homepage?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ironically, the thing most people think happens first is actually one of the last steps before Google even begins processing your request.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 5: Finding the Right Server (Load Balancing)
&lt;/h2&gt;

&lt;p&gt;Your request doesn't land on one magical computer somewhere.&lt;/p&gt;

&lt;p&gt;Large services like Google run &lt;strong&gt;thousands of servers,&lt;/strong&gt; all capable of handling the same request. A &lt;strong&gt;load balancer&lt;/strong&gt; sits in front of them and decides which server should handle your request, helping distribute traffic and prevent any single server from being overwhelmed.&lt;/p&gt;

&lt;p&gt;Depending on where you are, DNS may have already directed you to a nearby data center.&lt;/p&gt;

&lt;p&gt;Someone opening Google in Pakistan and someone opening it in Germany may reach completely different servers while visiting the exact same website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Same domain. Different server. Same experience.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's one of the reasons modern websites feel so fast.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 6: Downloading the Rest of the Website
&lt;/h2&gt;

&lt;p&gt;Google processes your request and sends back an &lt;strong&gt;HTTP response&lt;/strong&gt; containing the page's HTML.&lt;/p&gt;

&lt;p&gt;As the browser starts parsing the HTML, it discovers references to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CSS (styling)&lt;/li&gt;
&lt;li&gt;JavaScript (behavior)&lt;/li&gt;
&lt;li&gt;Images&lt;/li&gt;
&lt;li&gt;Fonts&lt;/li&gt;
&lt;li&gt;Icons&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each of those usually triggers &lt;strong&gt;additional HTTP requests.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So loading a single webpage isn't just &lt;strong&gt;one request and one response.&lt;/strong&gt; It often turns into &lt;strong&gt;dozens, sometimes even hundreds, of network requests,&lt;/strong&gt; all happening behind the scenes in just a few moments.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 7: Rendering the Webpage
&lt;/h2&gt;

&lt;p&gt;After all the resources arrive, the browser begins rendering.&lt;/p&gt;

&lt;p&gt;It parses the HTML, applies CSS, executes JavaScript, lays everything out on the screen, and finally paints the page you see.&lt;/p&gt;

&lt;p&gt;Only then does Google's homepage appear.&lt;/p&gt;

&lt;p&gt;All of this usually happens in well under a second.&lt;/p&gt;

&lt;p&gt;And to us, it just feels like a webpage loading.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why It Feels Instant
&lt;/h2&gt;

&lt;p&gt;None of this would feel magical if every website took 10 seconds to load.&lt;/p&gt;

&lt;p&gt;The reason it feels almost instant is because the web is optimized at every layer.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browsers cache resources.&lt;/li&gt;
&lt;li&gt;DNS responses are cached.&lt;/li&gt;
&lt;li&gt;CDNs bring content closer to users.&lt;/li&gt;
&lt;li&gt;TLS handshakes have become much faster.&lt;/li&gt;
&lt;li&gt;HTTP/2 and HTTP/3 reduce unnecessary delays.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Millions (probably billions) of requests go through this journey every single day.&lt;/p&gt;

&lt;p&gt;The only reason it feels effortless is because countless engineers have spent decades shaving milliseconds off every step.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Typing &lt;strong&gt;google.com&lt;/strong&gt; looks like one simple action.&lt;/p&gt;

&lt;p&gt;In reality, it's a carefully orchestrated sequence of networking, cryptography, routing, caching, and distributed systems, all happening before you even see a search box.&lt;/p&gt;

&lt;p&gt;Learning computer networking has completely changed the way I look at the internet.&lt;/p&gt;

&lt;p&gt;The next time you press &lt;strong&gt;Enter&lt;/strong&gt;, you'll know that your browser isn't just opening a webpage.&lt;/p&gt;

&lt;p&gt;It's coordinating one of the most sophisticated systems humans have ever built.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyxvr7boiws81nmogv6y5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyxvr7boiws81nmogv6y5.png" alt="Request Flow" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>networking</category>
      <category>programming</category>
      <category>software</category>
    </item>
  </channel>
</rss>
