21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

URL vs Domain Name: What's the Difference?

Quick answer

A domain name is the name you register and renew, such as webji.in. A URL is the complete address of one resource, such as https://webji.in/pricing/, combining the scheme, the host containing that domain, and a path. Every web URL contains a host; one domain can carry unlimited URLs.

For site owners, marketers and students who need to tell the registered name apart from the page address before buying, redirecting or moving a site.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
5 min
Sections
9
Updated
14 Nov 2026
Written by
WebJi® team

What is the difference between a URL and a domain name?

A domain name is the name you register and renew, such as webji.in; a URL is the full address of one resource, such as https://webji.in/pricing/, and it contains the domain as its host. One domain can carry an unlimited number of URLs, but a URL points to exactly one page, file or API endpoint.

Domain name compared with URL, attribute by attribute
AttributeDomain nameURL
IdentifiesA whole website, brand and email identityOne specific resource
Examplewebji.inhttps://webji.in/blog/url-vs-domain/
Comes fromA registrar, for a yearly feeThe site owner, free, every time a page is published
ChangesRarely: renewal or transferOften: new posts, renamed pages
Risk if mishandledExpiry takes the site and email offlineBroken links, duplicate pages in search
Defined byDNS rules and the TLD registryRFC 3986 URI syntax

Which part of a URL is the domain?

The domain sits inside the host, between :// and the first single slash, after any subdomain prefix. In https://shop.example.co.in:8443/cart/?item=42#pay the registered domain is example.co.in; everything else is added by the server, DNS or the application.

  • Scheme: https — how to fetch it. HTTPS defaults to port 443, plain HTTP to port 80.
  • Subdomain: shop. — a DNS record you create under your own domain at no extra cost.
  • Registered domain: example.co.in — the label example under the .co.in second level of India’s .in registry.
  • Port: :8443 — shown only when it differs from the scheme’s default.
  • Path: /cart/ — the resource on the server.
  • Query: ?item=42 — parameters for the application.
  • Fragment: #pay — a position in the page; the browser never sends it to the server.

The fragment point matters in practice: two URLs that differ only after the # request the same document, which is why search engines do not index fragments as separate pages.

How do TLDs, root domains and subdomains fit inside a domain name?

A domain name is read right to left: the top-level domain, then the label you registered, then any subdomains you created. Only the middle step costs money; the TLD belongs to a registry and the subdomains are free DNS entries.

Levels of a domain name, from the root of DNS downward
LevelExampleWho controls it
Top-level domain (TLD).in, .com, .orgA registry delegated by IANA
Second level under a TLD.co.in, .org.inThe same registry (NIXI for .in)
Registered or apex domainwebji.in, example.co.inYou, as registrant, through a registrar
Subdomainwww.webji.in, mail.example.co.inYou, through DNS records

So www is not part of the domain; it is a subdomain that most sites either use as the main host or redirect to the apex. More on the trade-off sits in subdomain vs subdirectory and what a TLD is.

URL vs URI vs IP address vs domain: how are they related?

A URI is any resource identifier, a URL is a URI that also says where and how to fetch the resource, a domain is a name inside the URL, and an IP address is the number DNS turns that name into. They nest rather than compete.

URI
urn:isbn:9780131103627 or mailto:support@webji.services — identifies something without necessarily pointing to a web location.
URL
https://webji.in/pricing/ — a URI with a scheme and location a browser can fetch.
Domain
webji.in — the human-readable host part, renewed with a registrar.
IP address
192.0.2.10 or 2001:db8::10 — where the server is; an A or AAAA record maps the domain to it.

A URL can use an IP instead of a domain, such as http://192.0.2.10/, but on shared hosting that usually opens the server’s default page, because many sites share one IP and the server picks the site from the domain in the Host header.

What happens to the domain and the rest of the URL when you open a page?

The browser uses the domain to find the server through DNS, then sends the path and query to that server, which decides what to return. The two halves of the URL do two different jobs.

  1. The browser splits the URL and takes the host, for example webji.in.
  2. A DNS resolver walks root, .in and the domain’s nameservers to get its IP address, then caches the answer for the record’s TTL.
  3. The browser opens a connection to that IP and, for https, checks that the TLS certificate covers the host name.
  4. It sends a request such as GET /pricing/ with Host: webji.in.
  5. The server matches the host to a site and the path to a file, a CMS route or a redirect, and returns the response.

If step 2 fails, the problem is the domain or its DNS; the guide to checking DNS records covers that. If step 5 returns a 404, the domain is fine and the URL is wrong.

Why does the URL vs domain distinction matter for SEO and site moves?

Search engines rank URLs, not domains, so every variant of the same page — http and https, www and apex, with and without a trailing slash — can be treated as a separate URL unless you choose one. Pick one canonical form, 301-redirect the others, and link internally only to the canonical version.

The distinction also tells you which tool fixes which job. Changing the domain (rebranding from oldname.in to newname.in) needs a site-wide redirect, a new certificate and DNS changes; the steps are in redirecting a domain to another domain. Changing a URL inside the same domain only needs a single 301, covered in the .htaccess 301 redirect guide, plus a canonical tag on the target.

Ownership works the same way. When you buy a name through domain registration you hold the domain, and every URL under it follows the domain wherever it is hosted.

Example URLs with the domain picked out

In every row the registered domain is the shortest piece of the host you could buy from a registrar. Country-code second levels like .co.in and internationalised names in punycode are where people most often pick the wrong part.

Eight URLs and the registered domain inside each
URLRegistered domainNote
https://webji.in/webji.inApex host, path /
https://www.webji.in/blog/webji.inwww is a subdomain
https://webji.in/pricing/?plan=cloud#faqwebji.inQuery and fragment are not part of the domain
http://example.com:8080/appexample.comNon-default port
https://shop.example.co.in/products/example.co.in.co.in is the registry level, not your name
https://api.v2.example.org/usersexample.orgTwo levels of subdomain
https://xn--mnchen-3ya.de/xn--mnchen-3ya.dePunycode form of münchen.de
mailto:support@webji.serviceswebji.services (in the address)A URI, not a web URL

Names in Hindi or other scripts work the same way; see internationalised domain names.

FAQ

Frequently asked questions

Is a website address the same as a domain name?

In everyday speech people use them interchangeably, but technically a website address is a URL. When you type just webji.in, the browser fills in https:// and the root path / to build a full URL from the domain.

Can two websites share one domain?

Yes, through subdomains or paths. shop.example.in can run on one server and example.in on another, because each subdomain has its own DNS records. Both still depend on the single domain registration and its renewal.

Does changing a page URL affect my domain?

No. The domain registration, DNS and email are untouched. Only that page’s address changes, so add a 301 redirect from the old URL to the new one to keep bookmarks and search rankings working.

Is the SSL certificate issued for the domain or the URL?

For host names, not URLs. A certificate for webji.in and www.webji.in covers every path on those hosts. A subdomain such as shop.webji.in needs to be listed on the certificate or covered by a wildcard.

Are URLs case-sensitive while domains are not?

Yes. WEBJI.IN and webji.in are the same domain, because DNS ignores case. The path can be case-sensitive: on a Linux server /Pricing/ and /pricing/ may be different resources, so keep paths lowercase.

Last editorial update: 14 November 2026.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.