Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0478

Read the parts of a web address

Identify the protocol, domain name and page path that can appear in a URL.

Section 5 · The internet and its uses

Cambridge IGCSE Computer Science 0478 · The internet and its uses · 2026–2028 Version 6 · 5.1

This sequence follows Cambridge IGCSE Computer Science 0478, 2026–2028 syllabus Version 6. It covers subject content sections 5.1–5.3 only. The separately published 2029–2031 syllabus is not mapped here. Practice is original, self-checked and does not award an official Cambridge grade. Full timed papers and human subject-teacher review remain outstanding.

Before you begin

  • No programming language is required. Be comfortable with place value and multiplication; each lesson introduces the computer-science notation it uses.

Work on paper. Try each question before revealing help, and explain why your method works.

Quick readiness check

What is a URL?

What you will learn

  • Define a URL
  • Identify protocol, domain and page or file name
  • Explain how each part helps locate a resource

A URL is a text-based address

A uniform resource locator (URL) is the text address used to identify a resource on the Web. It can contain a protocol, a domain name and a web page or file path.

Apply and check the rule

In https://school.example/courses/math.html, https is the protocol, school.example is the domain name and /courses/math.html identifies a path or page. A URL may include other components, but these parts are enough to explain the syllabus model.

Pause and explain

In https://shop.example/cart, what is shop.example?

Put the idea to work

Worked example

In https://library.example/catalog/books, identify the protocol, domain and page path.

Show the worked solution
  1. Read the text before the colon as the protocol.
  2. Read the host between the slashes as the domain name.
  3. The remaining path identifies the requested page or resource.

Answer Protocol: HTTPS; domain: library.example; path: /catalog/books.

Try a topic test

Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.

Test this topic →

From guided practice to a new situation

Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.

1 · Guided

Label the protocol, domain and path in http://museum.example/exhibits/space.

Give me a hint

Split at the colon, then identify the host before the next slash.

Compare my reasoning
  1. The protocol text before the colon is http.
  2. The host is museum.example.
  3. The remaining path is /exhibits/space.

Protocol: HTTP; domain: museum.example; path: /exhibits/space.

Look for these in your work

  • Protocol correct
  • Domain correct
  • Path correct
2 · Independent

A URL has a domain name but the browser still needs a network address to contact a server. What service can look up the name?

Give me a hint

Think about the service that maps a human-readable name to an IP address.

Compare my reasoning
  1. The URL supplies the domain name.
  2. DNS looks up the corresponding IP address.
  3. The browser can then send a request to the named host.

The Domain Name System (DNS) resolves the domain name to an IP address.

Look for these in your work

  • DNS named
  • Name-to-address role
3 · Transfer

A learner says the path /courses/history is the protocol because it appears in the address. Explain the error.

Give me a hint

Use the component's position and purpose.

Compare my reasoning
  1. The protocol appears before the colon and describes how resources are requested.
  2. The domain names the host.
  3. The path after the host identifies the requested page or resource.

The path is not the protocol: it identifies a resource on the host. In https://school.example/courses/history, https is the protocol and school.example is the domain.

Look for these in your work

  • Protocol position
  • Path purpose
  • Example applied

Common mistakes

  • Including the slash after the domain as part of the domain
  • Confusing a domain name with the IP address a server uses
Recall without your notes

What can you explain now?

What does the domain name identify in a URL?

Compare with the explanation

The named host for the requested web resource

DNS can translate that name to an IP address used for network communication.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Make it stick

Name three components that can appear in a URL and state what each identifies.

If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.

Keep learning Computer Science

Course scope and assessment

165 original lessons map the listed objectives across all 10 main topics in the 2026–2028 Version 6 syllabus, with worked explanations and guided, independent and transfer practice. This is mapped teaching coverage, not proof of full exam readiness. Three earlier starter lessons remain available but are not counted as syllabus-mapped teaching. Practical programming experience in an executable browser workspace, full timed-paper practice, human subject-teacher review and the separate 2029–2031 syllabus remain outstanding. Practice is self-checked and does not award an official Cambridge grade.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.