We all take the Internet for granted. To some extent, even our
parents understand how the Internet works. You type
and you get the access the platform. You’re already logged and are
ready to browse hundreds of photos.
At the snap of your fingers.
Who would have thought how much work went into making it so simple for you.
What is happening behind the scenes?
For the purpose of this article, we will assume 2 pieces of prior knowledge:
- our machine (further called client) given an HTML file can display its content on the screen. This makes the parent happy, as they can see a new portion memes and pictures of babies.
- we can request this page by typing proper URI and don’t need to worry about the whole DNS thingy.
facebook.comconnects me to facebook’s machines, period.
This gives us a nice abstraction to focus on web servers and how does facebook actually expose their machines to the world. What does it take to expose a machine to the world? How does it send the HTML file to the client? Let’s find out!
IP is this magical thing that you know from your childhood gaming and the fear of being localized if you made somebody angry during the game.