Lesson Notes — How the Web Works — Browsers, URLs, Domains & Top Level Domains (TLDs)
Course 1: Computer Literacy / Unit 5: TLDs, Search & Information Literacy / Lesson 1: How the Web Works — Browsers, URLs, Domains & Top Level Domains (TLDs)
Lesson overview
The web is a huge collection of pages stored on computers around the world. A web browser, such as Chrome, Safari, Edge, or Firefox, is the program that asks for those pages and shows them to you. Knowing how a web address is built can help you spot a fake site before you click.
Anatomy of a URL
A URL is a web address. Look at this one:
https://docs.example.com/guides/start
- https:// is the protocol, the set of rules used to move the page. HTTP sends data openly. HTTPS encrypts it, which protects what you type from being read along the way.
- docs is a subdomain, a section of a larger site.
- docs.example.com is the hostname, the name of a specific server.
- example.com is the domain, the name registered by the site’s owner.
- .com is the top-level domain (TLD), the last part of the domain.
- /guides/start is the path to one page on the site.
Common TLDs
- .com and .net: open to anyone.
- .org: often used by nonprofits, but open to anyone.
- .edu: reserved for accredited schools and colleges in the United States.
- .gov: reserved for government agencies.
- Country codes such as .uk or .ca show the country the domain is registered in.
How DNS finds a site
Computers find each other by number. Each website has an IP address. The DNS (Domain Name System) works like a phone book: you type a name, and DNS looks up the number. Your browser then uses that number to request the page.
A note on trust
A padlock and HTTPS mean your connection is private, not that the site is honest. Check the domain carefully. Scam sites often use look-alike names, such as an extra letter or a different TLD.
Check your understanding
- Label the protocol, domain, and TLD in
https://www.nasa.gov/missions. - Why is a .gov site usually more trustworthy than a .com site, and why is that not a guarantee for every domain?
- In your own words, explain what DNS does.
Use this lesson’s Key Terms page to build your glossary.