What happens when you click enter?
Browsing the web.
Have you ever asked what happens when we press enter on our keyboard after entering an URL in the browser search bar? Well, I might have a quick answer for you.
Let’s say we type (https://www.google.com/) in the search bar and press enter, we begin questioning who, what or where is google.com? that question is then pass down to our ISP (Internet Service Provider- image of different ISPs below).
Once the ISP gets the question, then it’s sent to the DNS (Domain Name System) which is similar to a phonebook. The Domain Name System which is similar to the (yellow pages) of the internet and one of its main roles is to translate names to IP addresses. For example, it translates google.com to 22.214.171.124. (try copy and pasting into your browser). This eliminates the need for a human to remember all those numbers for a simple domain name. Imagine remembering five or twenty of those set of numbers to visit your favorite sites… yeah…
Back to our topic, the ISP asks the DNS — Hey DNS, do you know who is google.com? DSN — I do not know google.com but I know where he lives, here is his address — 126.96.36.199. The DSN sends that information back to the ISP and the ISP sends that back to your web browser.
Finally, can you visually show me how all that work was done? (For my visual people). Below is an image of the process we just talked about.
The signal travels from our home to an external antenna which then goes to our ISP, which then goes out to the “Internet Backbone” and reaches its destination.
The “Internet Backbone” are physical cables under the sea connected to other servers around the world. If you ever go very deep into the sea and see these cables, please do not cut them. :p
the complete web developer in 2021: Zero to Mastery Created by: Andrei Neagoie