GCSE · Computer Science · Eduqas · Spec C500QS
URL structure
You’ve tapped thousands of web addresses and never taken one apart. Two cuts will split any URL into pieces you can name.
Take a URL apart
View
Explore
tap a part of the URL ↓
Three parts, three jobs: how to communicate, which server, where on that server.
Flip between the views, then tap any part of the URL to see what it tells the browser.
Predict, then check
Same website, one part missing. What happens?
You shorten https://www.example.com/art/cat.html to just https://www.example.com and press Enter. What does the browser do?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Take any web address apart: protocol, domain name and path, and what each one tells the browser.
What you need to know
- A URL (Uniform Resource Locator) is the full address of one particular resource, such as a web page or file, on the internet.
- It is made of separate parts in a fixed order: normally the protocol, then the domain name, then the path.
Have a goPut these three parts in the order they normally appear in a URL: path, protocol, domain name.
Protocol, then domain name, then path.
The parts of a URL are written in a fixed order, and normally the path comes last, after the domain name.
- The protocol comes first, followed by the separator ://.
- The protocol tells the browser which set of rules to use to communicate with the server and request the resource.
- The domain name starts straight after :// and runs up to the first single / (or to the end if there is no path).
Have a goSam looks at https://www.example.com/art/cat.html and says: “The domain name is www.example.com/art/cat.html. It’s all the website, isn’t it?” Where does Sam go wrong?
The domain name stops at the first single /, so it is just www.example.com.
Sam ran the domain name on past the first single /. From that / onwards it is the path, not part of the domain name.
- The domain name tells the browser which web server (website) holds the resource.
- A domain name is labels separated by dots. The last label, after the final dot, is the top-level domain, and a subdomain such as www may come first.
- The path starts with / and is folder names separated by /, often ending with a file name.
Have a goIn the path /art/prints/cat.html, which are the folder names and which is the file name?
art and prints are folder names; cat.html is the file name.
Folder names are separated by /, and a path often ends with a file name, so the last piece is the file.
- The path tells the browser where on that server the particular page or file is stored, so you get it and not the site’s default page.
- To split any URL, cut at :// and again at the first single / after the domain name.
The big picture
A URL is the full address of one particular resource. It is built from parts in a fixed order, normally the protocol, then the domain name, then the path. Cut at :// and at the first single / after the domain name to find them. The protocol tells the browser which rules to use, the domain name which web server, and the path where on that server.
Key points
Worked example
Problem
Split https://blog.example.org/travel/spain.html and say what each part is for.
⚠ Watch out
Treating the URL and the domain name as the same thing, or letting the domain name run on past the first single /. The domain name ends at that /: everything from it onwards is the path.
Memory hook
Read a URL like a delivery address, left to right: how to communicate (protocol), which building (domain name), which room (path). Then remember the two cuts: after ://, and at the first single /.
Check yourself
Cover the page and split http://www.example.net/shop/offers.html. Name the protocol, the domain name and the path, then say which one tells the browser which web server to contact.
Flashcards
(12)What is a URL?
In what order are the parts of a URL normally written?
Which separator follows the protocol?
What does the protocol tell the browser?
Where does the domain name start, and where does it end?
What does the domain name tell the browser?
What is a top-level domain?
What is a subdomain?
What is the path made of?
What does the path tell the browser?
Where do you cut a URL to find its three main parts?
Is a URL the same as a domain name?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Eduqas GCSE Computer Science topics
How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 16 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.