One address starts a lookup, then a separate request
A student wants a revision quiz in a web browser. The browser is a web client: a program that requests web resources and displays the returned content. A web server provides those resources. The Internet connects networks so the client and server can exchange messages even when they are far apart.
Use this worked example: https://revision.example/quiz/index.html. It is an illustrative address, not a live revision site. Suppose the browser has no usable stored address for revision.example. It obtains the corresponding IP address through DNS, the Domain Name System, before contacting the web server. An IP address supplies the network destination; it is not the quiz itself.
The browser then requests the quiz resource from the addressed server. The server returns content, such as HTML describing the page, and the browser displays it. Keep the two results separate: name lookup supplies addressing information; the web exchange supplies content. OCR assesses these roles directly. For AQA, this is supplied extension context for the HTTP(S) and IP ideas taught elsewhere.
Two journeys in the worked example
- Lookup: revision.example → illustrative IP 203.0.113.42.
- Web request: contact that destination and request /quiz/index.html.
- Response: the web server returns HTML; the browser renders the quiz page.
Receiving an address is not the same as receiving a page.
Read the name and resource from the URL
A URL, or Uniform Resource Locator, identifies a resource and how to access it. In the example, https:// selects protected web communication. The host name revision.example is the part used for the DNS address lookup. The path /quiz/index.html tells the web service which resource the student wants.
DNS does not look up the whole URL as though the scheme, host and path were one computer name. Separating these parts explains why changing /quiz/index.html to another path on the same host does not, by itself, mean contacting a different named host. The server must still receive the correct resource request.
Do not memorise this invented spelling or address. Follow the roles in the question's supplied example. A readable host name and a numeric IP address can refer to the same destination without being the same kind of information; the path adds a resource choice that the IP address alone does not express.
| Part in this example | Purpose |
|---|---|
| https:// | Protected web communication |
| revision.example | Host name used for the address lookup |
| /quiz/index.html | Resource requested from the web service |
DNS shares the naming work across servers
DNS is a distributed naming system: many name servers share responsibility for name information. It is not one computer storing every name and every website. A browser can use a DNS resolver, a service that finds an answer to its lookup question. The useful question here is which IP address is associated with revision.example.
A resolver may already have a usable cached answer. A cache is a stored copy kept so a recent lookup can be reused. If an answer is not available there, the resolver can ask other name servers until it obtains the appropriate answer. The exact hierarchy and DNS record types are not a new recall list for this lesson.
The browser or operating system can also retain usable address information. Therefore, a page load does not always cause a fresh external DNS query. Our first-visit route deliberately assumes the browser needs a lookup. Whether the information is found in a cache or obtained from another server, the result is still address information, not the web page.
Use the returned address without confusing it with content
In this worked example, the answer associates revision.example with 203.0.113.42. The browser now has a destination for contacting the service. Its next job is a separate HTTPS request for /quiz/index.html. DNS has not supplied the HTML or drawn anything in the browser window.
Routers forward packets between networks using destination IP information. They do not need to translate the original human-readable URL at every hop. This lesson follows one successful destination choice; it does not claim that each website has exactly one permanent IP address or its own dedicated physical machine.
A site can move to different hosting while retaining its readable name by updating the relevant address information. Cached answers may take time to expire, so not every client necessarily uses the changed address immediately. The important distinction is between the name a person uses and the destination information the network needs.
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.