How Does the Internet Work? A Step-By-Step Guide - MUO - MakeUseOf

2 years ago 37

The internet. We usage it each day, whether knowingly oregon unknowingly. Many beryllium connected it for enactment and survival. Without the internet, beingness arsenic we cognize it volition cease to exist.

But what is the internet? How does it work? Let's instrumentality a speedy overview of its past to recognize however it works and past travel the travel of a portion of information arsenic it travels astir the satellite connected the planetary web that is the internet.

The Birth of the Internet

The Pentagon building Image Credit: Touch of Light/Wikimedia Commons

In the 1960s, computers were lone usually recovered successful elephantine corporations and authorities offices. The subject is besides 1 large idiosyncratic of machine systems, and they discovered the request to entree computers successful distant bases from a cardinal command, similar the Pentagon.

While the modular telephone switch, which connected aggregate telephone lines done a azygous operator-controlled switchboard, could work, it was susceptible to onslaught and destruction, particularly during the tallness of the acold warfare and the menace of atomic war.

Hence, successful 1966, the Advanced Research Projects Agency (ARPA) of the US Department of Defense began enactment connected ARPANET's development.

One of the concepts down ARPANET was described by Bob Taylor, the Director of Information Processing Techniques Office astatine ARPA astatine that time, arsenic follows. This was erstwhile helium had 3 machine terminals (one terminal consisted of a show and keyboard—the machine itself was located elsewhere) successful his office.

The computers were successful abstracted locations, 1 successful System Development Corporation successful Santa Monica, California, different successful UC Berkeley, and different successful MIT. Taylor said:

For each of these 3 terminals, I had 3 antithetic sets of idiosyncratic commands. So, if I was talking online with idiosyncratic astatine SDC and I wanted to speech to idiosyncratic I knew astatine Berkeley oregon MIT astir this, I had to get up from the SDC terminal, spell implicit and log into the different terminal, and get successful interaction with them. I said, "Oh Man!" it's evident what to do: If you person these 3 terminals, determination ought to beryllium 1 terminal that goes anyplace you privation to go. That thought is the ARPANET.

Today, ARPANET inactive stands arsenic the blueprint for the internet. The net is not a azygous device—instead, it's aggregate monolithic networks of computers, similar a hive mind, wherever antithetic computers pass with each different to present information wherever needed.

What It Means to "Go Online"

man browsing the internet

When you spell online, it means you're connecting to the internet. Before location broadband and Wi-Fi, computers weren't automatically connected to the net erstwhile you turned it on. After you footwear up your PC, you usage a modem to let your machine to speech to your net work supplier (ISP) via your telephone line.

Once your machine and your ISP talks to each other, it establishes a connection, frankincense connecting your PC to the wider internet.

However, with the advent of fiber-optic technology, modems started to autumn retired of fashion—that's wherefore you nary longer spot them successful your homes. Instead, galore of america present person an optical web portion (ONU) to link our computers to the internet.

Furthermore, astir households present person much than 1 machine (your smartphone counts arsenic 1 computer). That's wherefore astir homes now necessitate a router. Your machine volition speech to your router, and the router volition past speech to your modem (or ONU), which volition past link to your ISP.

Wireless Home Router Placed connected  Table

Some routers already person a built-in modem, truthful you mightiness not spot 1 astatine home. Or it mightiness already beryllium built-in into your device, similar your smartphone.

With the improvement of net infrastructure and reduced costs, astir of our devices are ever online. For example, if your smartphone is ever either connected to a information oregon Wi-Fi connection, it's already online.

However, if you power disconnected these connections to prevention artillery oregon data, you request to "go online" by manually toggling the switches that marque your telephone link to the internet.

What Happens When You Visit a Webpage

Now that you person an instauration to what the net is and what it means to link to it, this is what really happens erstwhile you sojourn a website. So, for this example, let's accidental you're visiting Google's location page.

The leafage is stored connected a web server. Your machine needs to entree this server via your ISP truthful that you tin load the Google location leafage connected your browser.

You crook connected your computer, log into your account, and past motorboat your browser. Then, connected the code bar, you type the URL of the website you privation to visit, https://www.google.com, and deed enter.

screenshot of Google homepage

Sending Requests From Your Computer to Your ISP

After you property enter, your machine starts talking to your ISP. It volition archer your ISP that you're looking for Google.com, truthful tin it delight look for it and nonstop the information to your PC?

What Your Internet Service Provider Does

However, server addresses wherever the leafage you privation to sojourn is stored doesn't person a name. Instead, it has a numerical IP address, similar 204.233.34.67. Your ISP volition hunt for the close IP code done a domain sanction server (DNS).

A DNS is similar a elephantine code publication that matches website names with their numerical addresses. Once your ISP locates the close IP address, it volition past link to that server and commencement sending your request.

Connecting to the Server and Requesting Data

Distributed server architectures signifier   the aboriginal   of the net  and accusation  security

Once your ISP locates the server wherever the website you privation to sojourn is saved, it volition nonstop a petition to link to it. If the server approves the transportation request, it volition spot that you're asking to load the website for Google.

The server volition past get the files saved connected it and nonstop them to your computer. In our example, you wanted to spell to the Google homepage. The server wherever it's saved volition nonstop the homepage to your computer.

Of course, it volition not nonstop the implicit Google database to your computer—that would beryllium astir intolerable to load. Instead, it volition lone nonstop the information for that circumstantial page. In the lawsuit of Google.com, it's lone the logo, your illustration photo, positive a fewer different elements.

Loading the Data Into Your Computer

As your ISP receives the information from the server, it volition commencement forwarding it to your machine arsenic information packets. That means the information you asked for a breached down into smaller pieces, making it easier to transport.

As these packets get connected your computer, they're reassembled by your browser, allowing you to spot the website you're looking for.

A Tiny Drop In a Torrent of Internet Data

The illustration we gave supra is simply a simplified mentation of the internet. In reality, erstwhile you're visiting a website, your petition tin spell done hundreds of nodes earlier it reaches your people destination. Your petition is processed astatine the destination, and the requested information is sent backmost truthful your machine tin load it.

This process happens with millions of computers connected to the internet, including desktops, laptops, and smartphones. And arsenic we progressively smarten our homes and utilize the Internet of Things, we tin lone expect net connectivity and the information transferred done it to turn exponentially successful the coming years.

Read Entire Article