The URL vs domain confusion comes up all the time, and it's easy to see why. When you visit a website, you type something into your browser and a page loads. That "something" looks like one thing. But it is not. It is made up of several distinct parts, and knowing which part is which tells you a lot about how the web works.
In the last chapter, we covered how a domain name works. Now that you know what a domain name does, you can understand why it's only one piece of the full address. The rest of that address is what makes a URL.
What is the difference between a URL and a domain?
A URL is the complete address of a specific page on the web. A domain is the registered name that sits inside that URL. The domain is part of the URL. The URL is never just the domain on its own.
Take this address as an example: https://wemasy.com/pricing
That full string is a URL. The domain inside it is wemasy.com. Those two things do different jobs, and only one of them is something you register.
What is a URL made of?
A URL stands for Uniform Resource Locator. It is the full address that points to a specific resource on the web. That resource could be a webpage, an image, a file, or anything else your browser can load. A URL has multiple parts, and each one plays a different role.
Breaking down https://wemasy.com/pricing:
https:// is the protocol. It tells your browser how to communicate with the server. HTTPS means the connection is encrypted. HTTP is the older, unencrypted version. Every URL starts with a protocol.
wemasy.com is the domain. This is the registered name that identifies the brand. It's what someone types when they want to find the site, and it's what you register through a domain registrar. For a full breakdown of domain extensions like .com, see our guide on what a domain extension is.
/pricing is the path. This tells the server which specific page to load. The path comes after the domain and narrows the address down from the whole site to one specific location on it.
Some URLs have even more parts. A query string, for example, looks like ?ref=homepage and appears after the path. Query strings pass extra information to the server, often used for tracking, filters, or search results. The domain stays exactly the same no matter how long the query string gets.
What is a domain, and how is it different from a URL?
A domain is the name you register to claim your place on the web. It's the core identifier for your brand online. In the URL https://wemasy.com/pricing, the domain is wemasy.com. Nothing before it. Nothing after it.
You register a domain through a domain registrar. Once it's yours, it belongs to your brand for as long as you keep renewing it. That registration is separate from anything you build on top of it. The domain itself contains no pages, no content, and no structure. It's an address. The website is what people find when they arrive at that address. To understand how the name itself works, see our guide on what a domain name is.
A domain is something you own. A URL is something your site generates. Every time you create a new page, a new URL is born. The domain stays the same across every single one of those pages. You never register a URL. You register a domain, and URLs build themselves from it.
Is a domain inside a URL, or is a URL inside a domain?
The domain is inside the URL. Not the other way around.
A URL is always larger than a domain. It contains the domain, plus the protocol, plus any path, plus any query string that comes after. A domain on its own is not a complete URL. It's a component of one.
Think of it this way: your domain is your brand's root. Every URL on your site grows from that root. The homepage URL is your domain plus a trailing slash. The about page URL is your domain plus /about. The blog URL is your domain plus /blog. Every page gets its own URL. Every URL shares the same domain.
Your site might have hundreds or thousands of URLs. It has exactly one domain.
Do you register a URL or a domain?
You register a domain. You never register a URL.
When you go to a domain registrar and search for a name, you are checking whether a domain is available. You pay a registration fee for that domain name. You renew it each year to keep it. That is the extent of what gets registered.
URLs are not registered anywhere. They are built automatically based on the pages and structure of your website. When you create a new page called "contact," your site generates the URL https://yourdomain.com/contact. You did not register that URL. Your site created it from your domain plus the page's path. Every new page you add creates a new URL the same way.
This is why protecting your domain name matters so much. It is the one thing that underpins every URL your site will ever have. If you lose the domain, every URL that was built from it stops working. The domain is the foundation. Learn more about what a domain is and how registration works.
Does every page on a website have its own URL?
Yes. Every page on your site has its own unique URL. They all share the same domain, but the path after the domain is different for each one.
Here is how that looks in practice, using WEMASY as an example:
https://wemasy.com is the homepage URL. The path is just a single slash, which means the root of the site.
https://wemasy.com/pricing is the pricing page URL. Same domain, different path.
https://wemasy.com/blog/seo-tips is a blog post URL. Same domain, a longer path that includes the blog category and the post's slug.
Each of those is a distinct address pointing to a distinct page. Someone sharing the pricing page shares that full URL, not just the domain. Someone sharing the blog post shares that full URL. But if they want to tell someone your brand name so they can find your site themselves, they share the domain: wemasy.com.
That distinction between sharing a URL and sharing a domain is a practical one worth understanding.
When do you share a URL vs when do you share a domain?
These serve different purposes, and getting them mixed up causes small but real friction.
You share a URL when you want to send someone to a specific page. A pricing page. A product. A blog post. A support article. The URL takes them directly to that exact location. If someone needs to see a particular thing on your site, a URL gets them there without any searching.
You share a domain when you want to tell someone where your brand lives online. Business cards, email signatures, social media profiles, spoken conversations. In those situations, the full URL isn't useful. You don't need the protocol or the path. You just need the name. wemasy.com. Short, clean, memorable.
The domain is your brand's identity online. The URL is the precise location of a specific piece of content. Both matter, but they are tools for different situations.
How WEMASY handles domains and URLs together
On WEMASY, your domain is registered and connected to your website within the same account. When you create a new page, WEMASY generates the URL for that page automatically based on your domain and the page slug you set. You choose the slug for each page, and the full URL is built from your domain plus that slug. Every page you add creates a new URL. Your domain stays constant across all of them. See what's included in each plan at WEMASY pricing.
Frequently asked questions
Does changing my domain name change all my URLs?
Yes. If you switch to a different domain name, every URL on your site changes because the domain is the foundation every URL is built from. That means updating redirects, fixing broken links, and rebuilding any search presence tied to your old URLs. It is one of the biggest reasons brands are careful about their domain name choice from the start. With WEMASY's website builder, you can set this up directly on your website.
What happens to my URLs if I move my website to a different host?
Nothing, as long as your domain name stays the same. Your domain name is what people type. Your URLs are built from that domain. The hosting server is just where the files live. Switch servers, update your DNS records to point to the new server, and your URLs all still work exactly as before.
Why does Google show a URL in search results instead of just the domain name?
Because search results link to specific pages, not just websites. Google indexes individual URLs so it can send a searcher to the exact page that answers their question. The domain tells them which site it belongs to. The path tells them which page on that site. Both appear in search results so people know where they're going before they click.
Can two different websites share the same domain name?
No. Every registered domain name with a specific extension is unique. Only one person or brand can hold the registration for wemasy.com at any given time. The same name can exist with a different extension (wemasy.net is a separate registration from wemasy.com), but the combination of name and extension is always unique.
What is a slug and how does it relate to a URL?
A slug is the part of a URL that comes after the domain and identifies a specific page. In wemasy.com/pricing, the slug is "pricing." Slugs are usually set when you create a page in your website builder or CMS. They should be short, descriptive, and use hyphens instead of spaces. The slug combined with your domain name forms the full URL for that page.
Now you know what separates a domain from a URL. There's one more term that gets tangled up with both of them: web hosting. Your domain is the address, your URL is the path to a specific page, and web hosting is where all the actual content lives. Chapter 6 covers what web hosting is and why it's completely separate from your domain name.