<?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 RealElf on Medium]]></title>
        <description><![CDATA[Stories by RealElf on Medium]]></description>
        <link>https://medium.com/@muelvinlopez25?source=rss-9c3bc20ed78d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Mm8T7Z6YVLCNxjAK</url>
            <title>Stories by RealElf on Medium</title>
            <link>https://medium.com/@muelvinlopez25?source=rss-9c3bc20ed78d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:55:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@muelvinlopez25/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 a URL into a browser and press Enter?]]></title>
            <link>https://medium.com/@muelvinlopez25/what-happens-when-you-type-a-url-into-a-browser-and-press-enter-40d884775194?source=rss-9c3bc20ed78d------2</link>
            <guid isPermaLink="false">https://medium.com/p/40d884775194</guid>
            <category><![CDATA[backend-architecture]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[computer-networking]]></category>
            <dc:creator><![CDATA[RealElf]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 12:46:13 GMT</pubDate>
            <atom:updated>2026-11-07T11:30:04.901Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*_Ep-Fvbs4xpRK4fM81y6QA.png" /></figure><p>Have you ever wonder how your Browser processes the URL that you had typed into the Search Bar and press Enter? Well I don’t.</p><p>I never asked myself this question, until I started learning about Networking — how the Browser sends it’s data into the client or to the other servers? Or how does your URL input go through?</p><p>There are a lots of things that your input go and all of them are being processed in just milliseconds, which is why we often ignore them (like I did).</p><p>So here is my attempt of what happens when you type a URL into the browser and press ENTER.</p><blockquote>Note: This article will focus on how HTTP request work and not HTTPS. to know how HTTPS works you can find more about it on the references section</blockquote><h3>STEP 1: Converting URL into an IP Address</h3><p>Before I explain the steps, it is important to first know what are the terms you should know in order to navigate your way into this.</p><p>Your URL or Uniform Resource Locator is what you would type into the searchpage like <a href="http://www.medium.com,/">www.medium.com,</a> and the IP Address or Internet Protocol Address is the numerical version of your computer or in this case the webpage.</p><p>You see, your provided URL that you have typed into the searchpage is an input that your web browser could not understand, kind of like how Computers can’t distinguish a letter “a” to the “b” but it can understand 01100001” and “01100010” as two different things.</p><blockquote><em>PS: “01100001” is the ASCII value of “a” while “01100010” is for “b”</em></blockquote><p>Your browser needs to find a way to convert your URL into an IP Address — enter the DNS or Domain Name System. DNS is often considered to be the Internet’s Phone Book because it converts your URL into an IP Address that your browser can actually understand.</p><p>Of course, when the browser could not find an existing IP Address into your URL — it will present an Server Error.</p><figure><img alt="An image showing an invalid URL into the searchpage that resulted in a Server Not Found message of the browser" src="https://cdn-images-1.medium.com/max/971/1*gNnKmP5Ip62Ah89h6uciFQ.png" /></figure><p>This now brings us to the end of Step 1, we have identified the address of the URL that we are trying to access into — now it’s time to connect our computer into the targeted server.</p><h3>STEP 2: Performing a Connection through TCP</h3><p>For this step, you would need to learn another term that you will use for the next following steps. TCP or Transmission Control Protocol is used to establish a connection between applications and devices over a network.</p><p>You can think of it as a connector between you and the server.</p><p>If you would want to know how does the TCP connects you to the server (I recommend that you do). I’ve got a really good article that you should read <a href="https://medium.com/@apoorvaencoder/journey-of-a-tcp-connection-dc8a5e894d75">here</a>.</p><p>With in mind, that is the end of Step 2. On to the Step 3</p><blockquote>PS: Nowadays, you would most likely encounter another way for aside TCP and UDP — and that is QUIC (Quick UDP Internet Connection) because it works much of like a TCP even though it’s on top of UDP.</blockquote><h3>STEP 3: Web Servers Are Your Best Friend</h3><p>You have successfully established a connection through TCP, and now it’s time to send an HTTP request — in this case, a GET request for the <a href="http://www.medium.com./">www.medium.com.</a></p><p>However, you might be thinking that this is the time where the backend application is going to take the HTTP and send the data to you as the client.</p><p>But it isn’t, the backend code is not responsible for it — until you have a Web Server with you.</p><p>Let me make it clear to you by forming an analogy. Imagine that you are in a restaurant and the waiter is asking for your orders, you cannot talk to the chefs about what food you would like to eat — only the waiter.</p><p>The waiter in this case is the Web Server like Nginx, while the Chefs are the Backend Application.</p><p>Once the Web Server have picked up on your HTTP Request, the Backend Application will now start parsing through your Request.</p><p>And this is where we end Step 3 — because the last step, Step 4 will now send a response by the Server to you.</p><h3>STEP 4: Rendering The Server Response</h3><p>After going through all those steps, the Server is finally going to send a response.</p><p>Response can be different depending on what kind of response that you wanted, in our example we wanted a response where an HTML will be rendered into our webpage from <a href="http://www.medium.com/">www.medium.com</a>.</p><p>To summarize, whenever you enter a URL into the searchpage of the browser. The first step that gets done is that your URL will be converted into an IP Address by using DNS.</p><p>Once it found an IP Address for your URL, the browser will connect you with the targeted URL using TCP. After that, a Web Server like Nginx is going to help you to take your HTTP request to the Backend Application of your URL.</p><p>When the Backend Application receives the HTTP request, the Backend will send a response back to you.</p><p>All of these happens in just a fraction of a second.</p><p>However, there are some things that I have looked over, and I leave it up to you to research on your spare time.</p><p>One of them is happens before entering Step 1, you would first need to package your credentials like your Headers, Authorization or even your Cookies along with the URL so that the browser can identify who you are.</p><p>But other than that, this is the end of my article. Here are some references that I looked over when I was writing this article.</p><ul><li>What happens when you type a URL into your browser? (ByteByteGo) — <a href="https://www.youtube.com/watch?v=AlkDbnbv7dk">https://www.youtube.com/watch?v=AlkDbnbv7dk</a></li><li>What Actually Happens When You Hit an API? | The Life Cycle of an HTTP Request (Programming Tutorials) — <a href="https://www.youtube.com/watch?v=0lk9gMll6vk&amp;t=388s">https://www.youtube.com/watch?v=0lk9gMll6vk&amp;t=388s</a></li><li>How DNS works — <a href="https://semicolony.dev/how-it-works/dns">https://semicolony.dev/how-it-works/dns</a></li><li>HTTP vs HTTPS — <a href="https://www.youtube.com/watch?v=WvSVSbGo0wI">https://www.youtube.com/watch?v=WvSVSbGo0wI</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40d884775194" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>