Powered by
/src$ make
  • Home
  • About
  • Directory
  • Contact
  • Home
  • About
  • Directory
  • Contact

How The Internet Works (Simple Version)

1/11/2018

 
To watch the youtube video where I explain everything, please click here.

Ever Heard Of Something Called "The Internet" Before?

You've heard of the internet right? Of course you have. But do you actually know how it works? 
We're going to go over an extremely high-level overview of how the internet works. 

Our Device (The Building Block)

Picture
This one device starts it all.
At the most basic level of the internet, there exists a device. This device could be your phone, or maybe your laptop, or even a desktop computer. Honesty, it could even be your washing machine if you had a "Smart" one.

​As long as the device has a networking card that allows it to connect to a router (through wifi or an ethernet cable), then it's internet capable and part of the system.

A Community of Devices (Local Networks)

A community of these devices (anywhere from 1 to 255 of them) is formed when they all connect to the same router. 

Technically, the devices can talk to each other...But mostly they just ignore each other.
Picture
Suddenly, a community of devices forms when they connect to the same router.

Wires That Connect Communities (​The Internet)

​Routers have the special ability to connect to other routers! (We'll go into the details in a few sections.) That gives communities the ability to talk to each other. 
Picture

Special Devices (The Real MVPs)

It's worth mentioning that there are communities of special devices. These special devices are called "servers". They're just computers that listen for messages from routers, and know how to speak back depending on the situation. For example, at Google's house on the internet, there are a team of special computers that exist only to show the google homepage if someone types www.google.com in their web browser. But how does that process actually work?
​

Communication (In-Depth)

Okay, so real talk now: you get the overall principle, right? Your device (and others) are connected locally by routers. Then, you pay an ISP (Internet Service Provider) for internet so that the router is actually connected to a working set of cables that they can speak to other routers. But how does the "speaking" actually happen?
Let's take the simplest case. You open your web browser (Chrome, Firefox, or Safari) and type www.google.com into it. What happens is:

1. Your request (from your device) gets sent to the router.
2. The router sends the request to a Domain Name Server (DNS) by saying "hey some device on my network named "srcmake's phone" is asking me to connect to google.com."
3. The DNS says "google.com? Yeah I know that guy. He lives at 8.8.8.8" (an IP Address).
4. Your request goes to to the IP Address (in this case, 8.8.8.8).
5. The router that lives at 8.8.8.8 sees your message, and delivers it to a special computer that Google set up.
7. The Google computer says "hmmm? Oh, this guy just wants the google homepage. Okay let me put everything they need into a package and send it back to them." 
8. That package (which contains HTML, CSS, JS, and media files) is sent back to your router.
9. Your router sends the package to your web browser.
10. Your web browser opens the package and displays the results on your screen.
Picture
(Sometimes, if the package is too big, then it'll be sent in smaller packages that are delivered a little bit at a time. Those are called "packets" of data.)

Conclusion (You're An Expert Now!)

That's it. It's that simple. The internet is just a bunch of connected devices that send data to each other. 

Of course, I made the situation as simple as possible, but you can now officially say that you know how the internet works! 
To watch a video where I explain all of the concepts for you, please watch the following video:
Like this content and want more? Feel free to look around and find another blog post that interests you. You can also contact me through one of the various social media channels. 

Twitter: @srcmake
Discord: srcmake#3644
Youtube: srcmake
Twitch: www.twitch.tv/srcmake
​Github: srcmake

Comments are closed.

    Author

    Hi, I'm srcmake. I play video games and develop software. 

    Pro-tip: Click the "DIRECTORY" button in the menu to find a list of blog posts.
    Metamask tip button
    License: All code and instructions are provided under the MIT License.

    Discord

    Chat with me.


    Youtube

    Watch my videos.


    Twitter

    Get the latest news.


    Twitch

    See the me code live.


    Github

    My latest projects.

Powered by Create your own unique website with customizable templates.