Blog · WebJi® India

URL vs Domain Name: What's the Difference?

Quick answer: A domain name is the registered address of a website, such as webji.in. A URL is the complete address of one page, including the protocol, domain and path, such as https://webji.in/pricing/. Every URL contains a domain; the domain on its own cannot open a page.
✓ In business since 2005✓ INR + GST billing✓ 24/7 Email Support — avg reply < 60 min
Focused Indian analyst studying analytics charts across two monitors — url vs domain

A URL dissected — protocol, domain, path, query, fragment

A URL has six parts: protocol, subdomain, domain, path, query string and fragment. Take https://www.webji.in/blog/hosting/?page=2#pricing apart:

  • Protocol — 'https://' — the browser speaks HTTP encrypted with TLS over port 443.
  • Subdomain — 'www.' — a branch of the domain, optional and configurable.
  • Domain — 'webji.in' — the registered name: label 'WebJi®' plus TLD '.in'.
  • Path — '/blog/hosting/' — the resource location on the server.
  • Query string — '?page=2' — parameters passed to the application.
  • Fragment — '#pricing' — an in-page anchor, scrolled without another server request.

The domain is one component of the URL; the URL is the complete instruction. That nesting is the entire difference.

Domain name vs URL — side-by-side comparison

A domain name identifies the site; a URL identifies one resource on that site. The domain is a component of the URL, not a synonym for it.

QuestionDomain nameURL
What it identifiesThe website or brandOne page, file or resource
Examplewebji.inhttps://webji.in/pricing/
Who issues itA registrar, after you register and renew itThe site owner or application, created freely
How often it changesRarely; transfer or renewalOften; every new page is a new URL
What you must protectOwnership, renewal date, registrar lockCanonical form, valid redirects, no broken links
Role in searchBrand, trust and email identityDuplicate control and page-level indexing

Where the domain ends and the URL begins

The domain covers only the registered labels — what you buy from a registrar, like webji.in. Everything else in a URL is context bolted on: the protocol is a server configuration; the subdomain is a DNS record you create (www, blog, shop, mail). The path, query and fragment belong to the web application.

Focused Indian analyst studying analytics charts across two monitors — url vs domain

When you register a domain you own none of the URLs. You own the name that URLs are built around, and you can mint unlimited URLs under it — every path is a new URL the moment it resolves.

This is why domain registration transfers move DNS, email and site authority together, while URL changes are handled with redirects inside the same domain.

Subdomains, TLDs and root domains

TermExampleWhat it is
TLD.in, .com, .orgThe rightmost label, run by a registry
Second-level domainwebji.inYour registered label plus the TLD — 'the domain'
Subdomainblog.webji.inAnything to the left, created freely via DNS
Multi-part registeredexample.co.inA second registry level under .in

Practical rules follow. www is a subdomain you can use or 301 to the apex — keep one canonical version. Use subdomains for genuinely different properties (shop, support, app), not for content that belongs on paths. Search engines treat subdomains as largely distinct sites, so authority consolidates better within a single host.

How a URL becomes a page — DNS to server to path

  1. You type or click the URL; the browser extracts the domain.
  2. DNS resolvers translate the domain to an IP address through root, TLD and authoritative nameservers, caching along the way.
  3. The browser connects to that IP — TCP plus a TLS handshake for https.
  4. It sends an HTTP request carrying the method, path, query and Host header (the domain, so shared servers know which site you mean).
  5. The server maps Host plus path to a resource — a file, a WordPress render, or a redirect — and returns the response.
  6. The browser parses the HTML, fetches referenced assets and jumps to any fragment.

The domain got you the server; the URL's remaining parts told it exactly what you came for. The lookup itself is covered in DNS records explained.

URI vs URL vs domain — clean definitions

A URI identifies a resource, a URL is a URI that also says where to fetch it, and a domain is the registered name inside that address. Every URL is a URI, but not every URI is a URL.

  • URI — any identifier, such as mailto:support@webji.services. It names a resource without promising a web location.
  • URL — a URI with a scheme and a location, such as https://webji.in/pricing/. It tells the browser where to fetch.
  • Domain — the registered label plus the TLD, webji.in. It is the part you renew at a registrar, and it appears inside the URL's host.

Ten example URLs labeled part by part

Each row below is a real address with the parts labelled, including subdomains, a port, query strings, fragments, a country-code domain and one URI that is not a web URL.

ExampleProtocolDomainOther parts
https://webji.in/httpswebji.inpath /
https://www.webji.in/blog/httpswebji.insubdomain www, path /blog/
https://webji.in/pricing/?plan=cloud#faqhttpswebji.inpath /pricing/, query plan=cloud, fragment #faq
http://example.com:8080/apphttpexample.comport 8080, path /app
https://shop.example.co.in/products/httpsexample.co.insubdomain shop, path /products/
https://blog.webji.in/2026/10/wordpress-tips/httpswebji.insubdomain blog, path /2026/10/wordpress-tips/
https://webji.in/search?q=hosting+indiahttpswebji.inpath /search, query q=hosting+india
ftp://files.example.com/pub/ftpexample.comsubdomain files, path /pub/
https://xn--80ak6aa92e.com/httpsxn--80ak6aa92e.comIDN shown in punycode
mailto:support@webji.servicesmailtononeemail address; a URI, not a web URL

Why the difference matters — canonicals and redirects

Search engines treat every URL variant — http/https, www/apex, trailing slash, query strings — as potentially distinct. Unmanaged, they split your authority across duplicates.

The fix is dull discipline that quietly wins rankings: pick canonical forms (https, one host), 301 the alternates, self-reference canonical tags on pages, and keep internal linking consistent. If a URL change goes wrong mid-migration, the WordPress URL repair guide walks the recovery — and domain-versus-hosting basics cover the other half of the pair.

Is an IP address the same as a domain or a URL?

No. An IP address is the numeric location of a server, a domain is a human-readable name that DNS maps to that IP, and a URL adds the protocol and path that select one resource on it.

  • IP address — 192.0.2.10 or 2001:db8::1. Computers route to this; people do not remember it.
  • Domain name — webji.in. A DNS A record (IPv4) or AAAA record (IPv6) points it at the IP.
  • URL — https://webji.in/pricing/. It carries the domain plus the protocol and path for one page.

Frequently Asked Questions

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

A domain name is the registered address of a site, like webji.in. A URL is the complete web address of one page, so it contains that domain plus the protocol, path and any query string — for example https://webji.in/blog/url-vs-domain/.

Is www part of the domain?

No. The registered domain is webji.in. The www in www.webji.in is a subdomain, which is part of the host name in a URL. You can use it or redirect it to the bare domain.

What are the parts of a URL?

A web URL has a protocol (https), a host that usually contains the domain (www.webji.in), an optional port, a path (/pricing/), an optional query string (?plan=cloud) and an optional fragment (#faq).

What is a subdomain vs a domain?

A domain is the name you register, such as webji.in. A subdomain is a prefix you create in DNS under it, such as blog.webji.in or shop.webji.in, without buying another domain.

Is https part of the domain or the URL?

HTTPS is the protocol at the start of the URL, not part of the domain. The domain is webji.in; the URL is https://webji.in/. The certificate that enables HTTPS is issued for the domain and its subdomains.

Can a URL exist without a domain?

A URL for a website normally needs a host, which can be a domain name or a raw IP address. Other URI schemes, such as mailto: or file:, identify resources without a domain at all.

Is WebJi® an Indian company?

Yes. WebJi® is headquartered in Jaipur, Rajasthan and has operated since 2005. Billing, support and governance all run from India.

Do you provide GST invoices?

Every purchase and renewal gets a GST invoice with our GSTIN, and hosting prices are quoted exclusive of 18% GST. Claim input credit as applicable.

Need help with this?

WebJi® support does it for you — free. Talk to our Jaipur team →