How the Internet Works
BeginnerThe internet is a global network of billions of devices — computers, phones, servers — all connected and able to talk to each other. When you load a webpage, your device sends a request across this network, the right server receives it, and the response travels back to your screen in under a second. Understanding how that happens reveals one of the most impressive engineering achievements in human history.
Think of it like a global postal system
Every device on the internet has an address (an IP address), just like every house has a postal address. When you request a webpage, your message is split into small envelopes called packets. Each packet finds its own fastest route to the destination and they all reassemble at the other end — exactly like pieces of a letter being mailed separately and arriving at the same address.
Step by Step
Key Concepts
IP Address
A unique numeric label assigned to every device on the internet. IPv4 addresses look like 192.168.1.1. IPv6 addresses are longer and handle the billions of modern devices.
DNS (Domain Name System)
The internet's phone book. Translates human-readable domain names like "google.com" into the numeric IP addresses that routers use to direct traffic.
TCP/IP
The foundational communication protocol suite. TCP ensures reliable, ordered delivery of packets. IP handles addressing and routing packets across networks.
HTTP / HTTPS
The protocol browsers use to request and receive web pages. HTTPS is the encrypted version — it uses TLS to ensure nobody can read or tamper with your data in transit.
Packets
Data is not sent as one continuous stream but split into small fixed-size chunks called packets. Each packet travels independently and is reassembled at the destination.
Router
A device that reads the destination IP on each packet and forwards it toward its destination. Your home router connects your local network to your ISP's network.
ISP (Internet Service Provider)
The company that connects your home or office to the global internet — e.g., Jio, Airtel, Comcast. They maintain the physical cables, fibre, or wireless links.
CDN (Content Delivery Network)
A network of servers distributed globally that cache copies of websites close to users. When you load a popular site, you may be served from a server just a few hundred kilometres away.
Key Facts
- A typical web page load involves 50–100 individual network requests for HTML, CSS, JS, images, and fonts.
- The entire DNS lookup + TCP handshake + first byte of a response can happen in under 100 milliseconds.
- Data travelling through undersea fibre optic cables crosses the Atlantic Ocean in roughly 60 milliseconds.
- There are over 600 million kilometres of submarine cables carrying roughly 99% of international internet traffic.
- IPv4 supports ~4.3 billion addresses. IPv6 supports 340 undecillion — enough for every grain of sand on Earth to have its own address.
- HTTP/2 and HTTP/3 allow multiple requests to travel over a single connection simultaneously, dramatically speeding up page loads.
Real-World Applications
Web Browsing
Every page load follows the exact DNS → TCP → HTTP → render cycle described above, usually completing in under two seconds.
Video Streaming
Netflix and YouTube use adaptive bitrate streaming — your device constantly fetches short video chunks and adjusts quality based on your current bandwidth.
Online Gaming
Games use UDP instead of TCP for speed. Losing the odd packet is acceptable; waiting for retransmission is not. Routers and CDNs are placed close to game servers to minimise latency.
Video Calls
Apps like Zoom use WebRTC — a protocol that establishes peer-to-peer connections directly between browsers, bypassing central servers for the actual audio/video stream.
Cloud Storage
When you upload a file to Google Drive, it is broken into packets, encrypted, sent to a nearby data centre, and stored across multiple servers for redundancy.
IoT Devices
Your smart thermostat, security camera, and fitness tracker all have IP addresses and send packets over your home router to cloud servers and back.
Frequently Asked Questions
What is the difference between the internet and the World Wide Web?
The internet is the physical and logical infrastructure — the cables, routers, protocols, and IP addressing system that connects devices globally. The World Wide Web (WWW) is just one service that runs on top of the internet: a collection of webpages and hyperlinks accessed via HTTP. Email, video calls, and online gaming are also internet services but are not part of the Web.
Who owns the internet?
Nobody owns the internet as a whole. It is a decentralised collection of thousands of independent networks operated by ISPs, governments, universities, and companies. Coordination bodies like ICANN manage domain names and IP address allocation, but no single entity controls the infrastructure.
What happens if a packet gets lost?
TCP automatically detects lost packets because the receiver sends acknowledgements (ACKs) for each packet it receives. If the sender does not receive an ACK within a timeout period, it retransmits the missing packet. This is why TCP is described as "reliable" — it guarantees delivery and correct order.
How does HTTPS keep my data private?
When you connect to an HTTPS site, your browser and the server perform a TLS handshake. They agree on an encryption algorithm and exchange keys. All data sent between your browser and the server is then encrypted — so even if a packet is intercepted by someone on the network, they cannot read its contents.
Why is the internet sometimes slow?
Common causes include: congestion on your ISP's network (too many users sharing bandwidth), a slow Wi-Fi connection between your device and router, a distant or overloaded server, or a slow DNS lookup. Network latency — the time for a packet to travel to a server and back — is a physical limit determined by the speed of light in fibre.