O
Octo
O
Octo
CoursesPricingDashboardPrivacyTerms

© 2026 Octo

Technology Explained
1What Is Cloud Computing?2What Is Cybersecurity?3What Is Quantum Computing?4What Is DevOps?5What Is IoT?6How the Internet Actually Works7What Are APIs?8What Is Blockchain?
Module 6

How the Internet Actually Works

Every click triggers a chain reaction across the globe. Here's how DNS, HTTP, TCP/IP, servers, CDNs, and routing actually work — the infrastructure behind the internet, explained simply.

You typed "google.com" and a miracle happened

You open your laptop, type "google.com" into your browser, and hit Enter. In under 300 milliseconds, a fully rendered page appears. It feels instant. Effortless.

But in that fraction of a second, your request traveled through copper wires, fiber-optic cables, and maybe a satellite. It got translated from a human-readable name into a numeric address. It was chopped into tiny packets, each one finding its own route across a global network of interconnected machines. Those packets arrived at a Google data centre — possibly thousands of miles away — where a server assembled your response and sent it back, piece by piece, through a completely different route. Your browser stitched everything together and painted the page you see.

All of that happened faster than you blinked. And it happens billions of times per day for billions of people. That is the internet.

5.5Binternet users worldwide (~2024, ITU/Statista)

500T+emails sent per year (~2024, Radicati Group — estimate)

550+undersea cables carry 99% of intercontinental data (TeleGeography, 2024)

The internet is just computers talking to each other

Strip away the jargon, and the internet is a global network of computers that agreed on a common language for exchanging information. That's it. Every website, every video call, every email — they're all computers sending messages to other computers using shared rules called protocols.

Think of it like the postal system. You write a letter, put an address on it, drop it in a mailbox, and the postal service figures out how to get it to the right house. You don't need to know the route. You just need the address and the shared system.

🔑The internet is not the World Wide Web
People use "internet" and "web" interchangeably, but they are different things. The **internet** is the physical network — cables, routers, servers. The **World Wide Web** is one service that runs on the internet — websites accessed through browsers via HTTP. Email, video streaming, file transfer, and online gaming also run on the internet but are not "the web."

Step 1: DNS — Translating names into addresses

You type "google.com" because it is easy to remember. But computers don't understand names — they understand numbers. Every device on the internet has a unique numerical address called an IP address (like 142.250.80.46).

DNS (Domain Name System) is the internet's phone book. It translates "google.com" into 142.250.80.46 so your computer knows where to send the request.

You type google.com
DNS Resolver (your ISP)
Root DNS Server
.com DNS Server
Google DNS Server
Returns: 142.250.80.46
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

This lookup happens in milliseconds. And once your computer knows the IP address, it caches (remembers) it so it doesn't have to ask again for a while.

There Are No Dumb Questions

Why don't we just use IP addresses directly?

You can! Type 142.250.80.46 into your browser and you'll likely reach Google. But imagine memorizing a different number for every website you visit. DNS exists because humans are good with names and bad with numbers.

What happens if DNS goes down?

If DNS fails, your browser can't translate names to addresses — so websites "disappear" even though the servers are fine. In October 2021, Facebook's DNS configuration broke and the entire platform — Facebook, Instagram, WhatsApp — went offline for about 6 hours for billions of users. The servers were running. Nobody could find them.

Step 2: TCP/IP — The rules of the conversation

Once your computer has the IP address, it needs to send a request. But how do two computers on opposite sides of the planet exchange data reliably?

They use TCP/IP — two protocols that work together:

ProtocolWhat it doesAnalogy
IP (Internet Protocol)Addresses and routes packets to the right destinationThe address on an envelope — tells the postal system where to deliver
TCP (Transmission Control Protocol)Ensures all packets arrive, in order, without errorsThe tracking number + signature confirmation — guarantees delivery

Here is the key insight: your data doesn't travel as one big chunk. TCP breaks it into small packets (typically 1,500 bytes each), numbers them, and sends them off. Each packet may take a different route across the network. When they arrive at the destination, TCP reassembles them in the correct order and asks for any missing packets to be resent.

RoughDiagram: invalid JSON

⚡

Packet delivery

25 XP
Imagine you're sending a 10-page document over the internet. TCP breaks it into 10 packets and sends them. Packets 1-7 and 9-10 arrive. Packet 8 is lost in transit. 1. Does TCP send the entire 10-page document again? → ___ 2. What does TCP do about the missing packet? → ___ 3. Can the destination start reading the document before all packets arrive? → ___ *Hint: TCP is designed to be efficient — it only resends what is needed.*

Step 3: HTTP — The language of the web

Your computer now knows the address (DNS) and how to deliver packets reliably (TCP/IP). But what does it actually say to the server? That's where HTTP (HyperText Transfer Protocol) comes in.

HTTP defines the format of the conversation between your browser and a web server:

Your browser sends a request: "GET me the homepage of google.com"

The server processes it: finds the right page, gathers the HTML, CSS, images

The server sends a response: "Here's the page — status 200 (OK)"

Your browser renders it: paints the HTML, applies styles, loads images

Common HTTP status codes you've probably seen:

CodeMeaningWhen you see it
200OK — everything workedEvery successful page load (you just don't see it)
301Moved Permanently — this page has a new addressOld URLs that redirect to new ones
404Not Found — this page doesn't existBroken links, mistyped URLs
500Internal Server Error — something broke on the serverServer crashes, bugs in code
503Service Unavailable — server is overloaded or downTraffic spikes, maintenance
⚠️HTTP vs HTTPS — the S matters
HTTP sends data in plain text — anyone snooping on the network can read it. **HTTPS** (HTTP Secure) encrypts the conversation using TLS (Transport Layer Security). When you see the padlock icon in your browser, that means HTTPS is active. Never enter passwords or credit card numbers on a site without HTTPS.

Step 4: Servers — The computers that answer your requests

When your request reaches its destination, it arrives at a server — a computer whose only job is to listen for requests and send back responses. Servers run 24/7 in data centres.

A single Google data centre can hold hundreds of thousands of servers stacked in rows of racks in warehouses the size of football stadiums. They are cooled by massive air conditioning systems (or in some cases, ocean water). Google, Amazon, and Microsoft each operate dozens of these facilities worldwide.

The server that handles your request might be running web server software like Nginx or Apache, which receives the HTTP request, fetches the right content (from a database, from files, from another service), and sends back the response.

There Are No Dumb Questions

Is a server just a regular computer?

Physically, yes — a server is a computer with a processor, memory, and storage, just like your laptop. But it's optimized for running 24/7, handling thousands of simultaneous connections, and it has no screen or keyboard attached. You interact with it remotely.

Can I run a server on my laptop?

Absolutely. Developers do this every day during development. Any computer can be a server — it just needs software that listens for incoming requests. The difference with a "real" server is reliability, speed, and scale.

Step 5: Routing — How packets find their way

Between your computer and the server, your packets pass through multiple routers — devices that read the destination IP address on each packet and forward it toward the next step in the journey.

No single router knows the full path. Each router only knows: "For this destination, the best next hop is this direction." Packets get passed from router to router like a relay race, each handoff getting closer to the destination.

This is why the internet is resilient. If one path is congested or broken, routers automatically find alternative routes — just like GPS rerouting you around a traffic jam.

Your laptop (Sydney)
ISP router
Sydney exchange
Undersea cable
Los Angeles exchange
Google data centre (Oregon)
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

Step 6: CDNs — Bringing content closer to you

If you're in Tokyo and a website's server is in Virginia, every request has to cross the Pacific Ocean. That adds latency (delay). CDNs (Content Delivery Networks) solve this by caching copies of content on servers around the world.

When you visit a site using a CDN, you're actually served content from the nearest CDN server — called an edge server — not from the origin server thousands of miles away.

✗ Without AI

  • ✗Every request goes to origin server in Virginia
  • ✗User in Tokyo waits 200+ ms for every asset
  • ✗Origin server handles all global traffic
  • ✗One server location = one point of failure

✓ With AI

  • ✓Static content cached on servers in 200+ cities
  • ✓User in Tokyo gets content from a Tokyo edge server in 10-20 ms
  • ✓Load distributed across global network
  • ✓Multiple locations = built-in redundancy

Major CDN providers include Cloudflare, Akamai, AWS CloudFront, and Fastly. Most of the websites you visit daily use a CDN without you knowing.

⚡

Trace the journey

25 XP
A user in London types "spotify.com" into their browser. Put these steps in the correct order: - [ ] Browser sends an HTTP GET request to the server's IP address - [ ] DNS resolves "spotify.com" to an IP address - [ ] A CDN edge server in London responds with cached content - [ ] TCP breaks the request into packets and sends them - [ ] The browser renders the page - [ ] The user's router forwards packets to their ISP *Hint: Think about it like mailing a letter — first you need the address, then you send it, then it gets routed, then someone responds.*

Putting it all together

Here's the full journey of a single web request:

0 msYou type a URL

Browser checks its local DNS cache first

1-50 msDNS lookup

Translates domain name to IP address via recursive DNS resolution

10-100 msTCP handshake

Your computer and the server establish a reliable connection (SYN, SYN-ACK, ACK)

10-100 msTLS handshake

If HTTPS, encryption keys are exchanged to secure the connection

50-300 msHTTP request/response

Browser sends GET request, server processes it and sends back HTML, CSS, JS

100-500 msRendering

Browser parses HTML, applies CSS, executes JavaScript, paints the page

All of this — DNS, TCP, TLS, HTTP, routing, rendering — happens in under a second for most websites. The infrastructure that makes this possible is one of humanity's most complex engineering achievements.

The physical internet

The internet is not wireless or "in the cloud" in any abstract sense. It runs on physical infrastructure:

  • 550+ undersea cables spanning 1.4 million km across ocean floors, carrying 99% of intercontinental data (TeleGeography, 2024)
  • Millions of miles of fiber-optic cable on land
  • Internet Exchange Points (IXPs) — buildings where networks physically connect and exchange traffic
  • Data centres — warehouses full of servers, from Google's massive campuses to small colocation facilities

When a cable is damaged — by a ship's anchor, an earthquake, or a shark bite (yes, this happens) — internet traffic is rerouted through other cables. But in some regions with few cables, a single break can slow or cut internet access for entire countries.

⚡

Explain it to a 10-year-old

50 XP
Your younger cousin asks: "How does the internet work?" Using the post office analogy, explain the journey of a web request in 4-5 sentences. Cover: 1. How the address is found (DNS) 2. How the letter is sent (TCP/IP, packets) 3. How it gets routed (routers) 4. How the response comes back (HTTP) Write your explanation below — no jargon allowed.

There Are No Dumb Questions

Who owns the internet?

Nobody — and everybody. The physical cables are owned by telecom companies. The protocols (TCP/IP, HTTP, DNS) are maintained by non-profit organizations like the IETF and ICANN. No single company, government, or person controls the internet as a whole. That decentralized design is what makes it resilient.

What happens when "the internet goes down"?

The internet as a whole almost never goes down — it was designed to survive nuclear war (literally — its precursor, ARPANET, was a US military project). When people say "the internet is down," they usually mean their ISP is having issues, or a major service like Cloudflare or AWS is experiencing an outage that takes many websites offline simultaneously.

Back to that 300-millisecond miracle

When you typed "google.com" and the page appeared, you triggered a chain reaction involving DNS servers, TCP packet splitting, router relay races across undersea cables, HTTP request-response cycles, and CDN edge servers — all coordinated by protocols designed decades ago that still power everything we do online. The internet is not magic. It is plumbing — extraordinary, global-scale plumbing that humanity built one protocol at a time.

Key takeaways

  • DNS translates human-readable domain names into IP addresses — the internet's phone book
  • TCP/IP breaks data into packets, routes them independently, and reassembles them reliably at the destination
  • HTTP/HTTPS defines how browsers and servers communicate; HTTPS adds encryption for security
  • Servers are computers that listen for requests and send responses, running 24/7 in data centres
  • Routers forward packets hop-by-hop toward their destination, automatically rerouting around failures
  • CDNs cache content at edge servers worldwide, reducing latency by serving content from nearby locations
  • The physical internet runs on 550+ undersea cables, millions of miles of fiber, and massive data centres — it is engineering, not magic

?

Knowledge Check

1.When you type 'google.com' into your browser, what is the first thing that needs to happen before your computer can contact Google's server?

2.What does TCP do when sending data across the internet?

3.A user in Tokyo visits a US-based website that uses a CDN. Where does the content most likely come from?

4.What is the difference between HTTP and HTTPS?

Previous

What Is IoT?

Next

What Are APIs?