When you prepare a website for the first time, the address bar string can look like a single unbroken label. In reality it combines several distinct pieces, each answering a different question. This article uses one hypothetical address to show what those pieces are and how you can record them clearly before launch.
What Domain Names and Full URLs Each Answer
Suppose you are planning a small personal project and you sketch out the address https://example.org/notes/first-page?view=compact#intro on a sticky note. This string is entirely hypothetical; no such page needs to exist for the exercise to work. The first thing to notice is that the string contains two layers of information that answer different questions. The domain name portion, example.org, identifies which server on the Internet you want to reach. Domain names exist because computers use numeric IP addresses that are difficult for people to remember, so a human-readable name serves as an alias for that numeric address.12
The full URL, however, answers a narrower question: which specific resource on that server should the browser retrieve? A URL is the address of a unique resource on the Internet, and it includes the domain name plus additional parts that point to a particular page, file, or section within a page. In other words, the domain name gets you to the right building, while the rest of the URL tells the browser which room to enter and which shelf to look at.3
For a first-time site owner, this distinction matters because you will encounter both terms when setting up your project. When someone asks for your domain, they mean the host portion only. When someone asks for the URL of a specific page, they expect the complete string including path, query, and fragment if any are present. Keeping these two concepts separate from the start prevents confusion later when you share links or fill in configuration forms.
Reading Each Part of the Example Address
Return to the hypothetical string https://example.org/notes/first-page?view=compact#intro and read it from left to right. The first segment, https, is the scheme. It tells the browser which protocol to use when requesting the resource. For ordinary websites the scheme is HTTPS or its unsecured predecessor HTTP, and browsers know how to handle both.3
After the scheme and the separator ://, the next segment is example.org. This is the domain name, also called the host. It identifies the web server that will handle the request. In this hypothetical example the host stays constant throughout the exercise; only the parts that follow it will change.13
The portion /notes/first-page is the path. It points to a specific resource on the server. The question mark that follows introduces the query string, which here reads view=compact. Query parameters are key-and-value pairs that give the server extra instructions before it returns the resource. Finally, the hash symbol introduces the fragment, which in this case is intro. The fragment acts like a bookmark inside the resource itself, directing the browser to a particular spot within the page rather than to a different resource entirely.3
Comparing Paths and Queries on the Same Host
Now keep the host example.org and the scheme https fixed, and imagine two variations. The first is https://example.org/notes/first-page?view=compact#intro, the original string. The second is https://example.org/notes/second-page?view=full. The host is identical in both, but the path differs: one points to first-page, the other to second-page. The query also differs: one carries view=compact, the other carries view=full. The second variation has no fragment at all.
Looking at these two strings side by side, you can observe that changing the path produces a different address that refers to a different resource location on the same server. Changing the query produces a different set of instructions passed alongside the request. Removing the fragment simply means no in-page bookmark is specified. None of these observations tell you what the server actually does with each variation; they only describe what the string itself communicates.
This distinction is useful before launch because you may need to share different links for different purposes. A link shared in a newsletter might include a query parameter that sets a preferred display mode, while a link embedded in a document might include a fragment that jumps readers to a specific heading. Recognizing which part of the string you are changing helps you describe the difference accurately to collaborators.
Building an Address Description Card
Write a short description card for your hypothetical project before you share any links publicly. The card does not need to be elaborate; a plain text block or a table in a notes app is sufficient. Record three things at minimum: the purpose of the page in one sentence, the full address as you intend it to appear, and a brief label for each part of the address.
For the example used here, the card might read: Purpose is to display the first page of project notes in a compact view, scrolled to the introduction section. Full address is https://example.org/notes/first-page?view=compact#intro. Scheme is https. Host is example.org. Path is /notes/first-page. Query is view=compact. Fragment is intro. Each label maps directly to a segment of the string, so anyone reading the card can see which part does what.
Record the card in a place you will actually revisit, such as a project readme file or a shared document. The value of the card is not in its format but in the habit of naming each part explicitly. When a collaborator later asks why a link looks different from what they expected, you can point to the card and identify which segment changed.
Verifying the Card by Copying and Marking
Check your description card against the actual string by performing a manual copy-and-mark exercise. This step catches typos and mismatched labels that are easy to overlook when you only glance at the address.
The exercise below is a set of author suggestions, not a requirement imposed by any tool or standard. Adapt the number of passes to whatever feels comfortable for your project.
If you find a mismatch during any pass, correct the card first and then repeat the pass from the beginning of that step. Do not patch only the one character you noticed; re-read the full segment to make sure no second error hides nearby.
Step 1
Copy the full address from your card into a blank text file. Do not retype it from memory; use a paste action so that the characters match exactly what you recorded.
Step 2
Mark each boundary in the copied string with a visible separator. Place a space or a bracket before the scheme, after the host, before the path, at the question mark, and at the hash symbol. The result should look like a segmented list rather than a continuous string.
Step 3
Compare each segmented piece against the labels on your card one by one. Confirm that the scheme label matches the scheme text, the host label matches the host text, and so on through the fragment.
Keeping the Record for Future Reference
Store the finished description card alongside other project documentation so that it remains accessible when you write announcements, update links, or onboard a new collaborator. The card serves as a shared reference point: instead of pasting a long URL into a chat message and asking someone to guess which part matters, you can refer to the labeled segments directly.
Choose a storage location that matches how your project already organizes information. If you keep a readme file, add the card as a short section near the top. If you use a task board, attach it to the launch checklist item. The specific tool is less important than the decision to keep the card close to the context where address questions will actually arise.
Over time you may add more addresses to the same project. Each new page or variant can receive its own card following the same format. Maintaining a consistent structure across cards makes it straightforward to compare two addresses and identify exactly which segment differs, without re-parsing the strings from scratch every time.
Frequently asked questions
If I change only the fragment in my URL, does that point to a different page?
No. The fragment identifies a bookmark within the same resource. Changing the fragment directs the browser to a different spot inside that resource but does not by itself indicate a different page or file on the server.3
Do I need to include the scheme when I share my address with someone?
For everyday sharing, most browsers will fill in the scheme automatically if you omit it. However, recording the full scheme on your description card removes ambiguity, especially when the address appears in plain text outside a browser context.
Can the query string contain more than one parameter?
Yes. Query parameters are key-and-value pairs separated by the ampersand symbol. A single URL can carry multiple parameters, each giving the server a separate piece of extra information before it returns the resource.3
What is a Domain Name? - Learn web development | MDN. Retrieved 2026-11-01. ↩︎ ↩︎
How does the Internet work? - Learn web development | MDN. Retrieved 2026-11-01. ↩︎
What is a URL? - Learn web development | MDN. Retrieved 2026-11-01. ↩︎ ↩︎ ↩︎ ↩︎ ↩︎ ↩︎