Development

URL and Domain

A URL is the full address of a specific page or file on the internet; the domain is its readable part with the website name, such as example.com

What is URL and Domain?

A URL (Uniform Resource Locator) is the full address of a specific page, image or file on the internet. It tells the browser which protocol to use, which server to connect to and where the resource sits on that server, for example https://www.example.com/services/. The domain is just one part of a URL: the readable name of the website (example.com), which the DNS system translates into the server's IP address. A domain ends with a TLD (top-level domain), such as .com, .eu or .de. One domain can therefore have thousands of URLs, because every page of the website has its own.

Why It Matters

The URL is what people share, bookmark and see in search results. A clear address builds trust and click-through rate, while a messy or frequently changed one leads to error pages and lost rankings in Google. The domain is also a business asset: it carries the brand, the email addresses and the website's history. Anyone who understands how a URL is built can spot a phishing link more easily, brief a developer correctly and knows why page addresses should never change without a redirect.

Real-World Examples

  • 1https://www.example.com/services/web-design is the URL of a specific page, example.com is the domain and .com is the TLD.
  • 2The domain example.com can have subdomains such as shop.example.com or blog.example.com, each with its own URLs.
  • 3The address https://www.example.com/blog?utm_source=newsletter contains a parameter that tells analytics where the visitor came from.
  • 4The phishing link https://example.com.account-login.net does not lead to example.com: the real domain is account-login.net, because the part right before the TLD is what counts.
  • 5Model example (fictitious): an online shop renames a category and changes its URL without a redirect; old links from Google and from emails end in a 404 error until a 301 redirect is set up.

What the abbreviation URL means

URL stands for Uniform Resource Locator. In everyday use people say URL, web address or simply link. It is the address the browser uses to find a specific resource: a page, an image, a PDF or a video.

You will sometimes also see URI (Uniform Resource Identifier). URI is the broader term for any resource identifier; a URL is its most common type and also says where and how to retrieve the resource. For everyday web work the two are used interchangeably.

You can see the URL in the browser's address bar. If the browser shows only the domain, clicking into the bar reveals the full address including the protocol and path.

The parts of a URL

Let us break down the address https://www.example.com:443/services/web-design?utm_source=newsletter#pricing:

  • Protocol (scheme) https:// – tells the browser how to connect. HTTPS means an encrypted connection, see SSL / HTTPS.
  • Subdomain www – an optional part in front of the domain. A site can run with or without www, and one version should redirect to the other.
  • Domain example – the website name the business registers (second-level domain).
  • TLD .com – the ending, the top-level domain.
  • Port :443 – the technical gate of the server. 443 is the default for HTTPS, so it is normally left out.
  • Path /services/web-design – the location of a specific page or file on the website.
  • Parameters ?utm_source=newsletter – key=value pairs after the question mark, with several parameters separated by &. They are used, for example, to filter products or to track campaigns with UTM parameters.
  • Anchor (fragment) #pricing – points to a specific place within the page. The browser does not send it to the server.

The domain and TLD (together with any subdomain) form the hostname, the name of the server. Everything after it specifies which page on that server you want.

Domain vs URL: what is the difference

The domain is the address of the whole website, a URL is the address of one specific page. There is only one domain example.com, but it can have thousands of URLs: /contact, /blog/article, /products/oak-table and so on.

Domains have levels, read from right to left: .com is the top-level domain, example.com the second-level domain and shop.example.com a third-level domain, or subdomain. The domain holder creates subdomains freely; the second-level domain is what you pay a registrar for.

A domain alone does not run a website. It needs three things: registration with a registrar, DNS records that translate it to the server's IP address, and hosting where the site actually runs. Rules for allowed characters differ by TLD; the Czech .cz and Slovak .sk, for example, allow only letters without diacritics, digits and hyphens, up to 63 characters. How to pick and register a domain is covered in our article How to choose web hosting and a domain.

TLD: what it is and which endings exist

A TLD (top-level domain) is the highest level of a domain, the ending after the last dot. The IANA Root Zone Database lists roughly 1,500 TLD entries. The main types:

  • Country-code domains (ccTLD) – two-letter country endings: .de is run by DENIC, .cz by CZ.NIC, .sk by SK-NIC.
  • Generic domains (gTLD) – .com, .org, .net and newer endings such as .shop, .online or .agency.
  • Regional domains – for example .eu, operated by EURid.

Your TLD also affects search. According to its documentation, Google treats a country-code domain as a clear signal that the site targets that country. It treats .eu and .asia as generic, as well as some country codes widely used generically, such as .io, .ai, .me and .tv. A business selling mainly in one country is therefore usually best served by that country's ccTLD, while .com or .eu suits international audiences.

What a good URL looks like

Google's URL structure guidelines recommend keeping addresses as simple and human-readable as possible. For a business website, that means a few rules:

  • Words instead of IDs: /services/web-design beats /index.php?id=42&cat=3.
  • Hyphens, not underscores: Google recommends separating words with hyphens; it treats underscores as joining words together.
  • No spaces or special characters: characters outside ASCII must be percent-encoded in a URL, turning an accented letter into an unreadable string such as %C3%BC.
  • Consistent letter case: the path of a URL is case-sensitive, and Google treats /Services and /services as two different addresses. Lowercase only is the safest choice.
  • Fewer parameters: drop parameters that do not change the page content, or control them so they do not create duplicate URLs.
  • No content behind #: according to its documentation, Google generally does not support URL fragments, so content loaded only via an anchor may not be found.

The costliest mistake is changing a URL without a redirect. If you change a page address, set up a permanent 301 redirect from the old address to the new one, or you will lose visits from links as well as rankings. How addresses end up in the index is explained in Google indexing and crawling; more on-page factors are in On-page vs off-page SEO.

Absolute and relative URLs, and when to call in an expert

An absolute URL contains every part, including protocol and domain (https://www.example.com/contact). You need it wherever context is missing: in emails, on social media, in ads. A relative URL (/contact) is used within a website, where the browser fills in the missing parts from the current page address. HTML links commonly use both.

URL structure is cheapest to design at the start, when the website is built. Changing it later means a redirect map, checking internal links and monitoring indexing. We handle URL structure, domains, DNS and redirects as part of website development, and for existing sites as part of SEO.

Frequently asked questions

What is a URL in simple terms?

A URL is the full address of a specific page or file on the internet, for example https://www.example.com/contact. It contains the protocol, the domain and the path to the page, and optionally parameters and an anchor. It tells the browser where to connect and what to load.

What is the difference between a URL and a domain?

A domain is the name of the whole website (example.com), while a URL is the address of one specific page on it (https://www.example.com/blog/article). The domain is part of every URL on that site, and one domain can have thousands of different URLs.

What does TLD mean?

A TLD (top-level domain) is the highest level of a domain name, the ending after the last dot, such as .com, .eu, .de or .org. TLDs are mainly divided into country-code (ccTLD), generic (gTLD) and regional domains. The full list is maintained by IANA.

Can a domain name contain accented characters?

It depends on the TLD. Many endings, including .com and .eu, support internationalised domain names (IDN) with accented letters, but some country domains, such as Czech .cz and Slovak .sk, allow only letters without diacritics, digits and hyphens, up to 63 characters.

Are URLs case-sensitive?

The domain is not: example.com and EXAMPLE.com lead to the same site. The path after the domain is: Google treats /Contact and /contact as two different URLs. That is why addresses should use lowercase only, with one version redirecting to the other.

Related Services

Need help with URL and Domain?

Our team can help you integrate this into your project.