GCSE Computer Science · public explanation

How the Internet Works

Trace how data travels across the internet. Explain packets, routers and cooperating networks, keeping the internet and the World Wide Web distinct.

Read the explanation and worked examples, then choose your exam board to continue with activities and practice in your account.

OCR J277On the specificationOCR J277 1.3.1-1.3.2

Connect DNS, clients, servers, protocols, addressing, hardware and layers into one end-to-end explanation.

AQA 8525 (2027+)On the specificationAQA 8525 3.5

Apply TCP, IP, HTTP/HTTPS and the four-layer model. DNS, hosting and the detailed client/server journey are supplied explanatory context, not additional current-AQA recall.

Follow a request all the way back to its result

A student wants to read the school notice saying Club starts at 4 pm. Our fictional example opens https://notices.school.example/notices.html. The school laptop and the remote host are on different networks. The task is not complete when some bits leave the laptop: the browser needs a usable response from the service hosting the notice.

The journey has connected stages: obtain the destination address, create a web request, deliver addressed data through networks, let the web service process the request, then deliver and display its response. Earlier lessons explain the individual mechanisms. Here we connect each stage's result to the next stage's need, rather than listing networking names.

This example deliberately uses HTTPS over TCP. It is not a claim that every modern web connection uses TCP. AQA requires the specified protocol purposes and four-layer model; the supplied DNS, hosting and detailed client/server journey provide context. OCR also requires those Internet services, but does not require recall of each individual TCP/IP layer's name and function.

The example's start and finish

  1. Start: the browser has a URL for the school notice, not the page's contents.
  2. Request: obtain a destination address and ask the hosting service for /notices.html.
  3. Finish: returned page data lets the browser show Club starts at 4 pm.

An address enables a request; it is not a substitute for a response.

The Internet connects networks; the Web uses it

The Internet is a worldwide network of connected networks, with no single central computer through which all traffic must pass. The school network, service providers' networks and the host's network can belong to different organisations. Routers connect networks and forward packets towards their destinations.

The World Wide Web is a service using that infrastructure to exchange and link web resources. Email is another Internet service. Opening the school notice uses the Web; sending an email uses different application protocols over the same wider network infrastructure. The Internet and the Web are therefore not interchangeable terms.

Client and server describe roles. In this exchange, the browser is the client requesting a resource, and the hosting service acts as the server responding to it. The server is not the whole Internet. Other organisations can run other services, and a device may act as a client in one exchange and provide a service in another.

Keep the destination separate from the requested page

In our example, DNS supplies 203.0.113.42 for notices.school.example. This is an illustrative documentation address, not a live school server. DNS resolves the domain name to an address used to reach the destination. It does not turn the whole URL into the notice text.

The browser still needs /notices.html, the resource path from the URL. That path tells the web service what is requested; the destination IP information helps deliver the communication to the host. Different resources can be served through the same address, so an address alone does not specify which page the student wants.

A usable cached address result may avoid a new lookup on every visit. If lookup fails and no usable result is available, this particular request cannot yet be addressed through that lookup process. If lookup succeeds, the later connection or resource request can still fail. Treat these as separate pieces of evidence.

Known informationValue in this exampleWhat it enables
Domain namenotices.school.exampleLook up the destination
Destination IP203.0.113.42Address the communication
Resource path/notices.htmlAsk the web service for the chosen resource
Returned page contentClub starts at 4 pmShow the notice after the response arrives

Give each protocol a different job in the same request

A protocol is an agreed set of communication rules. HTTP defines web request and response exchanges. HTTPS protects that web communication with encryption: an observer intercepting the traffic should not be able to read the protected contents without authorised decryption. A protected connection does not prove that the site's claims are honest.

For our chosen TCP-based connection, TCP organises reliable, ordered host-to-host communication. It can arrange retransmission of missing data and supply data to the application in order. IP provides addressing and routing information for packets crossing networks. Neither TCP's reliability nor IP's addressing is the same job as interpreting a web-resource request.

In AQA's model, HTTP/HTTPS operate at application, TCP at transport and IP at internet. Link handles the local network hardware and driver communication. These responsibilities cooperate: the application does not need to implement a new request language just because the local connection changes from cable to Wi-Fi, provided the interface to the software above remains compatible. OCR uses these individual layer names here as a supplied explanatory model.

Continue with your exam board

The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.

Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.