If you are preparing your first personal website or small project site, you will encounter two related but distinct concepts: the domain name and the full URL. Confusing them is common, and the confusion can lead to mislabeled notes or broken links later. This article uses a single hypothetical address to walk through what each concept answers, how the parts of a URL fit together, and how to keep a simple reference card for your own project.

What Question Does Each One Answer?

Suppose you are setting up a small site to collect reading notes for a book club. You have chosen the domain example.org for this hypothetical exercise. A domain name answers one specific question: which server on the Internet should handle your request? Domain names provide a human-readable address for any web server available on the Internet, because the numeric IP addresses that computers actually use are hard for people to remember and may change over time.1

A full URL answers a broader question: which exact resource on that server do you want, and how should the browser request it? A URL is the address of a unique resource on the internet, composed of different parts, some mandatory and others optional. So while the domain name points to the server, the URL adds directions to a specific page, file, or section within that server's content.2

In our book club scenario, example.org tells the browser which machine to contact. The full address https://example.org/notes/first-page?view=compact#intro goes further: it specifies the protocol, the exact page path, a display preference, and a spot within that page to scroll to. Understanding this split helps you write clearer notes, communicate with collaborators, and troubleshoot when something does not load as expected.

Labeling Every Part of the Example Address

Let us take the hypothetical address https://example.org/notes/first-page?view=compact#intro and mark each component. This address is constructed purely for the purpose of dissecting the string; it does not claim to point to a live page. The first part, https, is the scheme. The scheme indicates the protocol that the browser must use to request the resource. For websites the protocol is usually HTTPS or HTTP, its unsecured version.2

After the scheme comes the authority, separated by the character pattern ://. In our example the authority is example.org, which is the domain name indicating which web server is being requested. Following the domain is the path /notes/first-page, which represents the location of the resource on that server. In the early days of the web a path like this represented a physical file location, but nowadays it is mostly an abstraction handled by web servers without any physical reality.2

Two more parts appear in our example. The question mark introduces the query string view=compact. Query parameters are extra key-and-value pairs provided to the web server, and each server has its own rules regarding how it handles them. The hash symbol introduces the fragment identifier intro. An anchor represents a sort of bookmark inside the resource, giving the browser directions to show the content located at that bookmarked spot. Notably, the part after the hash is never sent to the server with the request.2

Same Host, Different Paths and Queries

Now keep the host portion example.org unchanged and swap only the path. Compare https://example.org/notes/first-page with https://example.org/notes/second-page. The domain and scheme are identical, but the path differs, so the browser is being directed to a different resource on the same server. From the string alone you can observe that the two addresses share a server but point to distinct locations within it. You cannot determine from the string what the server will actually return for each path.

Next, keep the path the same and change the query. Compare https://example.org/notes/first-page?view=compact with https://example.org/notes/first-page?view=full. The scheme, domain, and path are all identical; only the value after the equals sign differs. This tells you that the same resource is being requested with a different parameter. Whether the server actually produces different output for these two values is something you would need to confirm by testing or asking the site owner, not by reading the string.

Finally, change only the fragment. Compare https://example.org/notes/first-page#intro with https://example.org/notes/first-page#summary. The server receives the same request in both cases because the fragment is never sent to the server. The difference affects only where the browser scrolls within the returned document. This observation reinforces the distinction: the fragment is a client-side instruction, while the path and query travel to the server.

Building an Address Description Card

Record a short description card for your hypothetical project. The card needs only four lines: the purpose of the page, the full address, the domain, and the path. For our book club example, the purpose might read "First reading notes page, compact display, scrolled to the introduction section." The full address is https://example.org/notes/first-page?view=compact#intro. The domain is example.org. The path is /notes/first-page. Writing these down separately forces you to identify each component rather than treating the address as one opaque string.

Add two optional lines if they help your future self: the query string and the fragment. For this example, the query is view=compact and the fragment is intro. Including them on the card makes it easy to explain to a collaborator which part of the address controls the display preference and which part controls the scroll position. If your project grows, you can add more cards for additional pages, one per address.

Choose a format that you will actually maintain. A plain text file, a spreadsheet row, or a note in your project management tool all work. The key decision is consistency: pick one place and one format before your site has more than a handful of pages, so the habit is established early. This is a personal organizational choice, not a technical requirement.

Verifying the Card by Hand

Check your description card against the actual address string by copying the full URL into a blank line and then marking each boundary manually. Place a slash or a space between the scheme, the authority, the path, the query, and the fragment. For our example you would separate it into five tokens: https, example.org, /notes/first-page, view=compact, and intro. If any token is missing or misplaced on your card, correct it before moving on.

Write the delimiter characters next to each token on your card. The colon and double slash separate the scheme from the authority. The question mark introduces the query. The hash symbol introduces the fragment. Seeing these delimiters written out helps you spot common mistakes, such as placing a query parameter after the fragment or omitting the leading slash of the path.

Use a second pass to confirm that your card's purpose line matches what the string actually says. If the purpose line mentions "compact display," verify that the query really contains view=compact and not some other value. If it mentions "introduction section," verify that the fragment is intro. This cross-check takes less than a minute per address and catches copy-paste errors that are easy to make when addresses are long.

Keeping the Card for Future Reference

Store the completed card somewhere you will revisit it. If you are writing documentation for your site, the card can become the first entry in an internal reference page. If you are communicating with a designer or developer, you can paste the relevant lines into a message to show exactly which address you mean. The value of the card is not in creating it once but in having a ready-made explanation whenever someone asks what a particular link does.

Decide for yourself how much detail to keep. Some people find it useful to note why they chose a particular query parameter or fragment name. Others prefer to record only the structural parts and leave naming rationale in a separate design document. Neither approach is wrong; the goal is that your future self or a collaborator can read the card and immediately understand what the address is supposed to do without re-deriving the breakdown from scratch.

As your project grows, revisit older cards when you rename pages or adjust parameters. Updating a card at the same time you change an address keeps your reference accurate and prevents the slow drift that makes documentation unreliable. This practice is simply good note-keeping; it does not depend on any particular tool or platform.

Frequently asked questions

Is a domain name the same thing as a URL?

No. A domain name identifies the server, while a URL is the full address that includes the scheme, domain, path, and optional query or fragment. The domain is one component within a URL.12

Does the fragment part of a URL get sent to the server?

No. The part after the hash symbol, also called the fragment identifier, is never sent to the server with the request. It only tells the browser where to scroll within the returned document.2

Can I tell from a URL what the server will return?

Not reliably. The URL string shows which resource is being requested and what parameters are included, but the actual response depends on how the server is configured. You would need to test the request or ask the site owner to confirm behavior.