How the Internet Works
The internet is a global network of billions of connected computers and devices. It carries data across the planet using a system of cables, routers, protocols, and servers. Understanding how it works helps you use it more effectively, troubleshoot problems, and stay secure online.
The Internet is a Network of Networks
No single organisation owns or controls the entire internet. It is made up of thousands of smaller networks — home networks, office networks, university networks, mobile carrier networks, and data centre networks — all interconnected using agreed-upon protocols.
Your Home Network
│
│ (through your ISP)
▼
ISP Network (e.g., Jio, BSNL, Airtel)
│
│ (through internet exchange points)
▼
Global Internet Backbone
(high-speed fibre optic cables between continents)
│
▼
Another ISP Network
│
▼
Web Server (where the website lives)
The Physical Infrastructure
Last-Mile Connection
The connection between your home and your ISP is called the last mile. It can be delivered via fibre optic cable (fastest), coaxial cable (cable TV lines), telephone lines (ADSL), wireless towers (4G/5G), or satellite.
Internet Exchange Points (IXPs)
IXPs are physical buildings where different ISPs connect their networks together. They act like highway interchanges, routing internet traffic between different network operators without sending it all the way to a distant backbone provider. Major cities around the world have IXPs that handle enormous volumes of internet traffic.
Undersea Fibre Optic Cables
The continents are connected by thousands of kilometres of fibre optic cables lying on the ocean floor. These cables carry the vast majority of international internet traffic. A single modern undersea cable can carry hundreds of terabits per second.
Undersea Cable Route Example:
[India] ────────── Submarine Cable ────────── [Europe]
(fibre optic on ocean floor, 8,000+ km)
What Happens When You Open a Website
Let's trace every step when you type "www.estudy247.com" into your browser and press Enter:
Step 1: DNS Resolution
The browser needs to know the IP address of estudy247.com. It asks a DNS (Domain Name System) server to translate the human-readable domain name into a numerical IP address. DNS works like a phone book for the internet.
You type: www.estudy247.com DNS says: That maps to IP address 104.21.45.67
Step 2: TCP Connection
Your browser establishes a connection with the web server at that IP address using TCP. This involves a "three-way handshake" — three messages exchanged to confirm both sides are ready to communicate.
Browser → Server: "SYN" (I want to connect) Server → Browser: "SYN-ACK" (OK, I'm ready) Browser → Server: "ACK" (Great, let's go)
Step 3: HTTP/HTTPS Request
The browser sends an HTTP (or HTTPS for secure) request to the web server, asking for the page's content.
Request: GET /index.html HTTP/1.1
Host: www.estudy247.com
Step 4: Server Response
The web server finds the page, packages the HTML, CSS, images, and other files, and sends them back to your browser as a series of packets.
Step 5: Browser Renders the Page
Your browser receives the packets, reassembles them, reads the HTML code, and draws the webpage on your screen. Images and scripts load in parallel as additional requests.
Full Journey Timeline (typical): DNS lookup: ~20ms TCP handshake: ~30ms HTTP request + response: ~50–200ms Page rendering: ~100–500ms ──────────────────────────────── Total: Often under 1 second
IP Addresses and Routing
Every device on the internet has an IP address. Routers use these addresses to direct packets from the sender to the receiver. Each router knows its neighbouring routers and uses routing tables to decide the best path for each packet.
If a cable is cut or a router fails, the internet automatically reroutes packets through alternative paths. This resilience was one of the original design goals — the internet was designed to survive partial failures.
HTTPS and Encryption
When a website URL starts with HTTPS (not plain HTTP), the connection between your browser and the web server is encrypted. No one intercepting the packets in transit can read their contents.
HTTPS uses a protocol called TLS (Transport Layer Security). Before data is sent, the browser and server exchange cryptographic keys and establish a secure, encrypted tunnel through which all communication travels.
HTTP: Browser ←────── plain text ──────→ Server
(anyone on the network can read this)
HTTPS: Browser ←── encrypted tunnel ──→ Server
(intercepted data is unreadable gibberish)
Always check for HTTPS and a padlock icon when entering passwords or payment information on any website.
DNS in Detail
DNS is one of the internet's most critical systems. Every domain name must be resolved to an IP address before any connection can happen. The DNS system is hierarchical:
Root DNS Servers (13 globally, managed by IANA)
│
▼
Top-Level Domain (TLD) Servers
(.com, .org, .in, .net, etc.)
│
▼
Authoritative Name Servers
(specific to each domain — holds the actual records)
│
▼
IP Address returned to your device
Your ISP provides a local DNS resolver that caches (stores) recent lookups so that popular websites are resolved almost instantly without querying the full chain every time.
Internet Service Providers (ISPs)
An ISP is a company that sells internet access. ISPs operate in tiers:
- Tier 1: Own the backbone infrastructure (undersea cables, transcontinental fibre). They connect to other Tier 1 providers for free under peering agreements.
- Tier 2: Buy access from Tier 1 and sell to Tier 3 and businesses.
- Tier 3: Local ISPs that sell to homes and small businesses.
How Email Travels
You write and send email in your mail app
│
▼
Your mail server (SMTP) sends it out
│
▼
Travels across the internet to recipient's mail server
│
▼
Recipient's mail server stores it (POP3/IMAP)
│
▼
Recipient opens their mail app and downloads/views the email
Bandwidth and Latency
- Bandwidth: How much data can travel at once — like the width of a pipe. Measured in Mbps or Gbps. Higher bandwidth = faster downloads.
- Latency: How long it takes for data to travel from sender to receiver. Measured in milliseconds (ms). Lower latency = faster response. A gamer wants low latency; a downloader wants high bandwidth.
A satellite internet connection might offer decent bandwidth (50 Mbps) but high latency (600+ ms) because signals must travel to a satellite 35,000 km above Earth and back. Fibre optic connections offer both high bandwidth and very low latency because light travels the cables very quickly.
