How Does the Internet Work?

How Does the Internet Work?

The Question

You type a web address into your browser and within milliseconds, a page loads from a server that might be on the other side of the world. Billions of people do this billions of times every day, yet most of us have no idea what is actually happening. How does information travel from a server in California to a screen in Tokyo in less than a second?

Detailed Explanation

The internet is not a single thing—it is a global network of networks, connecting billions of devices through a combination of physical cables, wireless signals, and agreed-upon communication protocols. The physical infrastructure includes fiber optic cables (which carry data as pulses of light), copper cables, and wireless radio links. Undersea fiber optic cables connect the continents, carrying the vast majority of international internet traffic. The key to how the internet works is a set of rules called protocols, most importantly TCP/IP (Transmission Control Protocol/Internet Protocol). Every device on the internet has a unique IP address—a numerical label that identifies it, like a postal address. When you request a webpage, your computer sends a request to a Domain Name System (DNS) server, which translates the human-readable domain name (like "drawflick.com") into the numerical IP address of the server hosting that website. Your request is then broken into small chunks of data called packets. Each packet contains the destination IP address, the source IP address, and a portion of the data. These packets are sent out onto the internet and travel independently through a network of routers—specialized computers that read the destination address on each packet and forward it toward its destination, choosing the best available path at each step. The packets may take different routes and arrive out of order. The TCP protocol at the destination reassembles them in the correct order and requests any missing packets to be resent. This packet-switching architecture makes the internet extremely resilient—if one route is blocked, packets simply take another.

Going Deeper

The World Wide Web (WWW) is often confused with the internet, but it is actually just one application that runs on top of the internet infrastructure. The web uses the HTTP/HTTPS protocol to transfer web pages, which are written in HTML. When you visit a website, your browser sends an HTTP request to the web server, which responds by sending the HTML, CSS, JavaScript, and image files that make up the page. Your browser then interprets these files and renders the visual page you see. HTTPS (the "S" stands for Secure) adds a layer of encryption using TLS (Transport Layer Security). When you connect to an HTTPS website, your browser and the server perform a "handshake" to establish an encrypted connection, ensuring that no one intercepting the data packets can read their contents. This is why the padlock icon in your browser's address bar matters—it means your connection is encrypted. The internet's architecture was deliberately designed to be decentralized and resilient. It was originally developed by ARPA (the US Defense Advanced Research Projects Agency) in the 1960s as a communication network that could survive a nuclear attack by routing around damaged nodes. This decentralized design is also why the internet is so difficult to censor or control—there is no single point of failure or control.

Did You Know?

About 99% of international internet traffic travels through undersea fiber optic cables, not satellites. There are over 400 of these cables crisscrossing the ocean floor, totaling over 1.3 million kilometers in length. They are surprisingly thin—about the diameter of a garden hose—and are protected by layers of steel wire and waterproof coating. They are occasionally damaged by ship anchors, fishing trawlers, and even shark bites. Another remarkable fact is that the first message ever sent over the ARPANET (the precursor to the internet) in 1969 was "LO." The intended message was "LOGIN," but the system crashed after the first two letters. The internet's very first transmission was an accidental abbreviation. Today, the internet carries about 5 exabytes of data every day—that's 5 billion gigabytes, or roughly the equivalent of all the words ever spoken by human beings throughout history, transmitted every single day.

Network cables and data