Before you publish a website, you will encounter two related but distinct concepts: the domain name and the full URL. Confusing them can lead to miscommunication with collaborators or mistakes in documentation. This article walks through a single hypothetical address, labels every component, and shows how to build a personal reference card you can reuse.

What a Domain Name and a Full URL Each Tell You

Suppose you are planning a small personal project and you sketch out an address for one of its pages: https://example.org/notes/first-page?view=compact#intro. This is a hypothetical string used only for practice; it does not point to a live page. Looking at it as a whole, you can already see that it contains more information than just a name. A domain name, such as example.org, provides a human-readable address for a web server on the Internet. Domain names exist because computers communicate through IP addresses, which are numeric identifiers that people find difficult to remember or associate with a particular service.12

A full URL, on the other hand, is the address of a unique resource on the Internet. It tells a browser not only which server to contact but also which specific resource to retrieve from that server, and sometimes how to display or filter it. In our hypothetical string, example.org is the domain portion, but the rest of the string narrows the request down to a particular page, a particular display mode, and a particular spot within that page. Understanding this distinction helps you describe your own site accurately when you write documentation, share links, or troubleshoot a broken reference.3

Think of the domain name as the street address of a building and the full URL as the complete mailing instructions that include the floor, room number, and even the specific desk. Both are necessary, but they answer different questions. The domain answers "which server?" while the full URL answers "which exact resource on that server, and under what conditions?" Keeping this mental model in mind will make the labeling exercise in the next section straightforward.

Labeling Each Part of the Hypothetical Address

Let us break the string https://example.org/notes/first-page?view=compact#intro into its components. The first part, https, is the scheme. It indicates the protocol the browser must use to request the resource. For websites the protocol is typically HTTPS or its unsecured version HTTP. The characters :// separate the scheme from what follows, which is the authority section.3

The authority here is example.org. This is the domain name, and it identifies which web server is being requested. After the domain comes the path, /notes/first-page. The path represents the location of the resource on that server. In the early days of the web a path corresponded to a physical file, but today it is mostly an abstraction handled by web servers without any physical reality. Following the path is the query string, introduced by the question mark character. In our example the query is view=compact. Query parameters are key-value pairs that provide extra information to the server before it returns the resource. Finally, the hash character introduces the fragment identifier, which in this case is intro. The fragment acts as a bookmark inside the resource itself, directing the browser to scroll to a particular spot.3

Two punctuation rules are worth noting explicitly. The question mark always signals the beginning of the query portion; everything before it belongs to the path. The hash sign always signals the beginning of the fragment; everything after it is never sent to the server with the request. Recognizing these two delimiters lets you split any URL into its meaningful parts without guesswork.3

Comparing Strings That Share the Same Host

Now keep the host portion fixed at example.org and observe what changes when you alter other parts. Compare https://example.org/notes/first-page?view=compact#intro with https://example.org/notes/second-page. The second string has a different path but no query and no fragment. It points to a different resource on the same server. The domain has not changed, so the browser would contact the same web server in both cases; only the requested resource differs.

Next, compare https://example.org/notes/first-page?view=compact#intro with https://example.org/notes/first-page?view=full. Here the path is identical, but the query value has changed from compact to full. The two strings share the same scheme, host, and path, yet they carry different instructions about how the resource should be presented. We are not claiming that any particular server will actually honor these parameters; we are only observing that the strings differ in a specific, identifiable way.

Finally, consider what happens when you remove the fragment. The string https://example.org/notes/first-page?view=compact is the same request as far as the server is concerned, because the fragment is never transmitted. The only difference is on the client side: with the fragment present, the browser knows to scroll to a bookmarked position after loading. This observation reinforces the rule that the fragment is a local navigation aid, not part of the server request.

Building an Address Reference Card for Your Project

Record a short reference card for each address you plan to use. For the hypothetical project above, the card might contain four fields: purpose, full address, host, and path. The purpose field holds a plain-language note such as "first notes page, compact display, scrolled to introduction section." The full address field holds the complete string exactly as you intend to share it. The host field holds example.org. The path field holds /notes/first-page. You can add query and fragment fields if those parts are meaningful to your workflow.

Write the purpose in your own words rather than copying technical jargon. The goal is to create a quick reminder that you or a collaborator can read months later without re-analyzing the string from scratch. If your project has several pages, make one card per page and store them together in a single document or note file.

Choose a format that you will actually maintain. A plain text file works well because it is easy to search and edit. A table in a spreadsheet also works if you prefer columns. The specific tool matters less than the habit of updating the card whenever you change an address. An outdated card is worse than no card at all, because it can mislead someone into using a broken link.

Checking Your Reference Card by Hand

Before you rely on a reference card, verify it against the original string. This is a simple manual process that catches typos and misidentified boundaries.

Check each labeled part against the original string one more time after completing all steps above. If any part does not match, correct the card and repeat the check from the beginning of the mismatch.

Record the date of your check next to the card. This small habit helps you decide later whether the card still reflects the current state of your project or needs another pass.

Step 1

Copy the full address by hand into a blank line, character by character, without using paste. This forces you to notice every symbol.

Step 2

Mark the scheme by underlining everything before ://. Confirm it matches the scheme field on your card.

Step 3

Mark the host by underlining the text between :// and the first slash that follows. Confirm it matches the host field.

Step 4

Mark the path by underlining everything from that first slash up to the question mark or hash, whichever comes first. Confirm it matches the path field.

Keeping Your Reference for Future Use

Store the completed card somewhere you will naturally look when writing content, configuring links, or answering a collaborator's question about where a page lives. A dedicated folder in your project notes, a pinned document, or a bookmarked wiki page all serve this purpose. The key criterion is that the location is predictable to you six months from now.

When your project grows, resist the urge to let the card become a dumping ground for every URL you have ever typed. Limit it to addresses that are currently active or that you expect to reactivate. Retired addresses can be moved to an archive section with a note explaining why they were removed. This keeps the active portion short enough to scan quickly.

If you later decide to rename a path or change a query parameter, update the card at the same moment you make the change. Treat the card as part of the edit, not as a separate task to do later. This single habit prevents the most common source of confusion in small projects: a shared link that no longer matches the actual address.

Frequently asked questions

Is the fragment part of the URL sent to the server?

No. The fragment identifier, which follows the hash sign, is never sent to the server with the request. It is used only by the browser to navigate to a bookmarked position within the already-loaded resource.3

Can two different URLs share the same domain name?

Yes. A domain name identifies a server, and that server can host many resources. Each resource gets its own path, and optionally its own query and fragment, so multiple distinct URLs can share the same domain while pointing to different pages or different views of the same page.3

Do I need to include the scheme when sharing a URL with someone?

In a browser address bar you can usually omit the scheme because the browser will default to HTTP or HTTPS. However, when you record the address in documentation or a reference card, writing the full scheme removes ambiguity and makes the string self-contained.3