How It Works

HOW DO WEBSITES WORK?

What happens when you type www.livescienc­e.com into your browser and hit enter?

-

1 USER

When you type the web address, you’re telling your browser to make a request to the Livescienc­e web server.

2 TCP CHANNEL

Your web browser opens a connection called a TCP channel. Its job is to link you to livescienc­e.com.

3 HTTP REQUEST

Your browser then sends an HTTP GET request. It’s asking to GET the contents of the Livescienc­e homepage.

4 MODEM

Your computer passes the digital request to your modem. It takes the request and converts it into an analogue message that can pass through undergroun­d cables.

5 ROUTER

The request enters a network of cables undergroun­d. It passes through a series of computers called routers, which send it on towards the Livescienc­e web server.

6 DOMAIN NAME SERVER

The Livescienc­e web server has a unique address called an IP address. The domain name server keeps a record of that address to help the network work out where to send your request.

7 WEB SERVER

The Livescienc­e web server stores all the pages and data for livescienc­e.com. When it receives your GET request, it sends the data back to your computer.

8 PACKETS

There’s a lot of content on a Livescienc­e web page: text, images and even video. It’s possible for the web server to send it all at once, but if anything goes wrong it needs to send the whole lot again. To get around this, the server splits the content into small parcels called packets. They travel through the network separately, often via different routes. Your browser checks each packet for errors and reassemble­s them to build the web page. If one packet gets lost or damaged, the server only has to send a small amount of data again.

 ?? ??
 ?? ?? Layers of rules connect your devices to the internet
Layers of rules connect your devices to the internet

Newspapers in English

Newspapers from United Kingdom