How Does the Internet Work? IP Addresses, Servers and Data Packets
Between typing an address and pressing Enter and the page appearing, a lot happens in a few hundred milliseconds.
The internet is a giant network made of millions of computer networks connected around the world. No one owns it on their own; shared rules (protocols) let different networks talk to each other.
The IP address: an address on the internet
Every device connected to the internet has an IP address. Think of it like a postal address: data uses it to reach the right device. IPv4 addresses look like “192.0.2.10”; because they have run out, longer IPv6 addresses are becoming common.
Servers and clients
Websites live on computers that are always on and connected to the internet, called servers. Your browser is the client: it asks the server for a page, and the server sends it.
What happens when a page opens?
- Name lookup: the domain you typed (for example frkyazilim.com) is turned into the server’s IP address by DNS.
- Connection: your browser connects to the server; with HTTPS the connection is encrypted.
- Request: the browser asks the server for the page.
- Response: the server sends HTML, CSS, JavaScript and image files.
- Display: the browser puts these files together and draws the page on screen.
Data packets
Data is not sent in one piece; it is split into small packets. Each packet carries the destination address and travels via routers, which find the best path. Packets may take different routes and are put back in order at the destination. A lost packet is sent again.
The physical infrastructure
The internet may seem to be “in the cloud”, but it relies on physical infrastructure: the fibre or copper cables to your home, lines between cities, data centres and undersea cables linking continents. Most international traffic travels over those undersea cables.
Frequently asked questions
Are the internet and the web the same thing?
No. The internet is the infrastructure; the web is one of the services that runs on it. Other services such as email and online games also use the internet.
Does my IP address change?
Homes usually get an address from the internet provider that can change from time to time. A fixed IP is a separate service you can request.