# URLs and Domain Names

> What each part of a web address means. How a domain name is turned into a server's number, and how to spot a fake address.

**Course:** [Internet and Online Safety](https://learn.benibix.com/learn/general-internet)  
**Time:** 11 min

**After this lesson you can:**

- Name the parts of a URL
- Explain what DNS does
- Find the real domain in a long address

## What are the parts of a web address?

A URL is the full address of one page or file on the web. In https://example.com/menu?item=tea, the https says how to fetch it, with the s meaning the line is locked. Next, example.com is the domain name, which says which website. Then /menu is the path, which says which page. Last, ?item=tea adds extra details.

A web page is one document with its own URL. A website is a group of pages under one domain name. A web browser is the app that fetches pages and draws them on your screen. You type the address, the browser does the rest.

Computers do not find each other by name. They use numbers. The Domain Name System, or DNS, is the internet's phone book. When you type a domain name, your device asks DNS for the matching number, then connects to the server at that number. This takes a fraction of a second.

Domain names are read from right to left. The last part, like .com or .org, is the top level. The part just before it is the name someone bought. Anything further left is a sub-part that the owner controls. In shop.example.com, the owner is example.com.

That rule is the key to spotting fakes. Take an address that starts with a well-known bank name and ends in check-now.net. The real domain is check-now.net, not the bank. Scammers put a trusted name on the left and their own domain on the right. They hope you read only the start.

Lookalike letters are another trick. A capital I can pass for a small l, and rn can pass for m. Some fake domains swap in letters from other alphabets that look the same. When it matters, type the address yourself or use a saved bookmark.

The common mistake is to trust a link because it contains a well-known name. What matters is the domain just before the first single slash. Read that part, right to left, before you click or type a password.

```url
https://example.com/menu?item=tea#prices
```
Five parts: how to fetch it, which website, which page, extra details, and a spot on the page.

![The address https://example.com/menu?item=tea#prices split into five boxes, labelled how to fetch, domain name, path, query and fragment. An arrow runs from the domain name to a box marked DNS lookup, the internet's phone book, then to a box holding the server's number, then to a drawing of the server.](https://learn.benibix.com/diagrams/gen9-url-parts.svg)

### Example: A text about a parcel

Kai gets a text saying a parcel is held, with a link to pay 1.99. The link starts with the postal service's name and ends in fees.co. He reads it from the right.

The real domain is the one that ends in fees.co, not the postal service. He deletes the text. Then he checks the tracking number on the postal service's own site.

**Words in this lesson:** [Uniform Resource Locator (URL)](https://learn.benibix.com/term/general/url), [Domain Name](https://learn.benibix.com/term/general/domain-name), [Web Page](https://learn.benibix.com/term/general/web-page), [Website](https://learn.benibix.com/term/general/website), [Web Browser](https://learn.benibix.com/term/general/web-browser), [Domain Name System (DNS)](https://learn.benibix.com/term/infrastructure/dns)

**Question:** A link reads login.bank.com.check.io. Who owns the page it opens?

**Answer:** check.io. Read from the right. The name just before the ending is the owner. So the page belongs to check.io, whatever comes before it.

---

Source: https://learn.benibix.com/learn/general-internet/urls-and-domain-names
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
