WEB LITERACY6 min read

WEB LITERACY · ISSUE 001

Read the Domain Name Before You Trust the Page

The registered domain, not the logo or the first words in a URL, tells you where a browser is actually connected.

Firefox 62 address bar displaying a Wikimedia Foundation hostname
Archival Firefox address bar; interface indicators and certificate displays change. Image: Newslinger · CC0. Resized and converted to WebP; image adaptations use the stated license.

A brand name inside a web address can appear in several places, and only some of them identify the host to which the browser connects. Learning those boundaries helps you notice misleading links before a sign-in. It does not certify a page's honesty: a legitimate site can be compromised or host an inappropriate request. This guide uses reserved example domains and non-clickable code samples so the reading exercise does not send you to an actual suspicious website.

Locate the host before interpreting its words

In https://accounts.example.com/settings, the scheme is https, the host is accounts.example.com, and the path begins with /settings. The host's labels are separated by dots. The words in the path describe a location at that host; they do not change which host the browser uses. Read the host as a complete component before reacting to a familiar word anywhere else in the address.

For contrast, https://example.net/example.com/login uses the host example.net. The later appearance of example.com is merely path text in this illustration. A display label in an email can hide another destination altogether. Preview links through the browser's supported interface when it is safe to do so, but avoid sharing an entire address with an online checker if it contains a private invitation or reset token.

Do not assume the last two labels always define the boundary

With accounts.example.com, the familiar registered-domain boundary is example.com. But a public suffix can have several labels. The Public Suffix List explains why registry rules such as co.uk cannot be handled by a universal last-two-label rule. For a registrant under co.uk, simply selecting those two labels would not identify the individual registrant's domain.

The list also contains rules relevant to hosted services. Boundaries can therefore be more complicated than visually counting dots, and software needs maintained data rather than an unchanging homemade list. For an ordinary reader, the practical response to an unfamiliar boundary is to use a documented official route. Do not turn a quick visual heuristic into a claim that you can establish the ownership or safety of every possible domain.

Compare a real host component with a distracting subdomain

Consider https://example.com.accounts.example.net/login. The beginning contains the text example.com, but the host continues to example.net. The earlier labels do not give the first example domain control of the second. Reading the complete hostname prevents a familiar prefix from doing the work of verification.

Write down the expected official host from a separately trusted source, then compare the actual host with it. Do not obtain both the expected address and the link from the same suspicious message. Companies can use multiple legitimate domains, so an unfamiliar host calls for verification rather than an immediate public accusation. A bookmarked sign-in created during a known-good session or an official application can provide a more reliable route than guessing which of several similar names is genuine.

Separate the host from other URL components

An address can contain a port, query parameters and a fragment. Those components have purposes, but they do not turn a different host into the one you expected. Some URL forms can also contain user information before an @ sign. In the illustrative https://[email protected]/, the host is example.net. Do not use the first familiar-looking words as your boundary test.

For developers, use the platform's URL parser rather than splitting arbitrary text at the first slash or applying a loose regular expression. Then use appropriate maintained public-suffix handling when the task actually requires that boundary. Parsing identifies components; it does not verify organizational identity. A syntactically valid URL can still point somewhere you should not send credentials, private files or an account-recovery code.

Recognize what visual inspection cannot settle

Internationalized domain names can contain characters that resemble other characters. Shortened links hide the final host until a service resolves them, and redirects can change the destination after the first request. A small screen may truncate the address. These conditions reduce what a quick glance can establish. They are reasons to choose an independent route, not an invitation to decode every uncertain link by opening it.

HTTPS protects a connection to the named endpoint; its presence does not establish that the operator is honest or authorized to make the request in front of you. Likewise, a correct hostname does not validate an app-authorization screen's requested permissions or a payment's recipient. Continue checking the task and authority after establishing the route. Domain reading is one layer of verification, not a replacement for understanding what an action would do.

Practice without interacting with suspicious destinations

Use the reserved examples in this guide to identify scheme, host, path and the relevant domain boundary. Explain the answer aloud before checking it. The useful habit is to pause when a familiar brand word appears in the wrong component. Keep practice separate from real phishing links, and do not post private URLs into public discussions to ask for assistance.

For an actual unexpected sign-in request, open the service through your known official route and look for the claimed event there. If the page's address remains uncertain, close that route and contact the provider independently. The outcome is a narrow, useful decision: this destination matches the documented route, or it has not been established.

Practice with reserved domains

Identify the host before opening the answer key. These are non-clickable reserved examples, not invitations to visit suspicious destinations. A correct answer proves parsing, not trust.

URL reading exercise
ItemAddress as textQuestion
Ahttps://accounts.example.com/settingsWhich component is the host?
Bhttps://example.net/example.com/loginDoes the path give example.com control?
Chttps://example.com.accounts.example.net/loginWhich reserved domain is the boundary?
Dhttps://[email protected]/What is the host after the user-information component?
Select or copy plain text
Item	Address as text	Question
A	https://accounts.example.com/settings	Which component is the host?
B	https://example.net/example.com/login	Does the path give example.com control?
C	https://example.com.accounts.example.net/login	Which reserved domain is the boundary?
D	https://[email protected]/	What is the host after the user-information component?
Show the answer key
A: accounts.example.com is the host; example.com is the reserved domain boundary.
B: example.net is the host. The later example.com is path text.
C: the complete host is example.com.accounts.example.net; the reserved domain boundary is example.net.
D: example.net is the host; example.com is user information before @.
These answers do not establish that a page is honest, uncompromised or authorized to request a particular action.

REFERENCES

Sources and further reading

  1. 01Public Suffix List: Learn more
  2. 02MDN: URL API
  3. 03NCSC: Phishing
  4. 04IANA: Example Domains

Sources reviewed October 20, 2026. Provider instructions and product terms can change. Examples identified as fictional are editorial illustrations, not reported events or product tests.