Root Domain

Domain AffiliateMarketing SEO Glossary

What Is a Root Domain?

The Simple Definition

A root domain is the main, registered address of a website — the part you buy from a domain registrar. It combines a chosen name with a top-level domain (TLD) extension, and nothing sits in front of it or after it.

For example, in the URL https://www.example.com/blog/article:

  • example.com is the root domain
  • www is a subdomain
  • /blog/article is a path (subfolder structure)

The root domain is what you own. Once you register example.com, you control every subdomain and path that branches from it — blog.example.com, shop.example.com, example.com/pricing — they all belong to the same root.

The Technical DNS Definition

When you see a domain written as www.example.com. — with that final dot — the name is absolute, or fully qualified. Without the trailing dot, it is relative. In everyday web use, that trailing dot is almost always omitted, and “root domain” defaults to the practical meaning: the apex domain you registered.

Root Domain vs Domain Name

“Domain name” is the broader term. It can refer to any level of the hierarchy — a root domain (example.com), a subdomain (blog.example.com), or even a fully qualified domain name with all labels. A root domain is specifically the apex: the second-level domain plus its TLD, with no prefix.

PostAffiliatePro Logo

Launch your affiliate program today

Set up advanced tracking in minutes. No credit card required.

Root Domain vs Subdomain

What Is a Subdomain?

A subdomain is a prefix added before the root domain to create a separate section of a website. It sits at the third level (or deeper) of the DNS hierarchy. Common examples:

  • blog.example.com — a content section
  • shop.example.com — an ecommerce storefront
  • support.example.com — a help desk
  • partners.example.com — an affiliate or reseller portal

Subdomains are free to create once you own the root domain. You can set them up through your hosting control panel or DNS provider in minutes.

When to Use a Subdomain

Subdomains make sense when a section of your site needs distinct functionality, branding, or hosting:

  • Separate CMS or platform: A blog on WordPress when the main site runs on a different stack.
  • Regional versions: us.example.com, de.example.com with language-specific content.
  • Isolated tracking: An affiliate portal at partners.example.com with its own analytics and cookie scope.
  • Staging environments: staging.example.com for testing before going live.

Avoid creating subdomains just to organize content. A subfolder (example.com/blog/) is usually the better choice for SEO, as it consolidates authority under a single domain.

Root Domain vs Top-Level Domain (TLD)

What Is a Top-Level Domain?

The TLD is not something you can invent. TLDs are delegated by ICANN and listed in the IANA Root Zone Database. When you register a root domain, you are leasing a name under an existing TLD.

How They Fit Together

The DNS hierarchy reads from right to left:

Root (.)  →  TLD (.com)  →  Root Domain (example)  →  Subdomain (blog)  →  Path (/article)
The root domain sits between the TLD and any subdomains. It is the first level you control. Everything to its left is yours to create; everything to its right is infrastructure.

Root Domain vs Subfolder

What Is a Subfolder?

A subfolder (also called a subdirectory) is a path that follows the root domain, separated by a forward slash. Examples:

  • example.com/blog/
  • example.com/shop/shoes/
  • example.com/affiliate-program/

Subfolders are purely a content organization method. They do not involve DNS changes, separate hosting, or independent SSL certificates. They are always part of the same site.

SEO Implications

This is where the distinction carries real weight. Google has stated that it generally treats subdomains and subfolders as part of the same site, but in practice, subdomains can be treated as separate entities — inheriting their own ranking signals, crawl budget, and authority metrics independently from the root domain.

Subfolders, by contrast, always share the root domain’s authority. A backlink to example.com/blog/article strengthens example.com as a whole. A backlink to blog.example.com/article may not pass full weight to example.com.

Which to Choose

ScenarioRecommendation
Company blogSubfolder: example.com/blog/
Help center / knowledge baseSubfolder or subdomain — either works; subfolder preferred for SEO
Ecommerce store on a different platformSubdomain: shop.example.com
Regional site in another languageSubdomain: de.example.com
Affiliate partner portalSubdomain: partners.example.com
Staging / developmentSubdomain: staging.example.com

The Simple Definition

A root domain is the main, registered address of a website — the part you buy from a domain registrar. It combines a chosen name with a top-level domain (TLD) extension, and nothing sits in front of it or after it.

For example, in the URL https://www.example.com/blog/article:

  • example.com is the root domain
  • www is a subdomain
  • /blog/article is a path (subfolder structure)

The root domain is what you own. Once you register example.com, you control every subdomain and path that branches from it — blog.example.com, shop.example.com, example.com/pricing — they all belong to the same root.

The Technical DNS Definition

In the Domain Name System (DNS), the term “root domain” has a second, stricter meaning: it refers to the highest level of the entire DNS hierarchy, denoted by a single trailing dot (.). This is the “root zone,” served by root name servers distributed across the world and managed under ICANN’s authority.

When you see a domain written as www.example.com. — with that final dot — the name is absolute, or fully qualified. Without the trailing dot, it is relative. In everyday web use, that trailing dot is almost always omitted, and “root domain” defaults to the practical meaning: the apex domain you registered.

Root Domain vs Domain Name

“Domain name” is the broader term. It can refer to any level of the hierarchy — a root domain (example.com), a subdomain (blog.example.com), or even a fully qualified domain name with all labels. A root domain is specifically the apex: the second-level domain plus its TLD, with no prefix.

What Is a Subdomain?

A subdomain is a prefix added before the root domain to create a separate section of a website. It sits at the third level (or deeper) of the DNS hierarchy. Common examples:

  • blog.example.com — a content section
  • shop.example.com — an ecommerce storefront
  • support.example.com — a help desk
  • partners.example.com — an affiliate or reseller portal

Subdomains are free to create once you own the root domain. You can set them up through your hosting control panel or DNS provider in minutes.

Key Differences at a Glance

FeatureRoot DomainSubdomain
OwnershipPurchased from a registrarCreated freely under a root domain you own
DNS RecordsOwn A, MX, TXT recordsSeparate DNS records, independently configurable
SEO TreatmentThe primary entityGoogle may treat as part of the same site or separately
Backlink AggregationAll subdomain links typically count toward the rootLinks may or may not pass full authority to the root
Cookie ScopeCookies set at root can cover subdomainsSubdomain cookies can be isolated
Exampleexample.comblog.example.com

When to Use a Subdomain

Subdomains make sense when a section of your site needs distinct functionality, branding, or hosting:

  • Separate CMS or platform: A blog on WordPress when the main site runs on a different stack.
  • Regional versions: us.example.com, de.example.com with language-specific content.
  • Isolated tracking: An affiliate portal at partners.example.com with its own analytics and cookie scope.
  • Staging environments: staging.example.com for testing before going live.

Avoid creating subdomains just to organize content. A subfolder (example.com/blog/) is usually the better choice for SEO, as it consolidates authority under a single domain.

What Is a Top-Level Domain?

The top-level domain is the suffix at the end of a domain name — the part after the final dot in the root domain. Common TLDs include:

  • Generic TLDs (gTLDs): .com, .org, .net, .info
  • Country-code TLDs (ccTLDs): .us, .uk, .de, .jp

The TLD is not something you can invent. TLDs are delegated by ICANN and listed in the IANA Root Zone Database. When you register a root domain, you are leasing a name under an existing TLD.

How They Fit Together

The DNS hierarchy reads from right to left:

Root (.)  →  TLD (.com)  →  Root Domain (example)  →  Subdomain (blog)  →  Path (/article)
The root domain sits between the TLD and any subdomains. It is the first level you control. Everything to its left is yours to create; everything to its right is infrastructure.

Choosing the Right TLD

Alternative TLDs like .blog or .io can work for niche brands, but they typically underperform .com in direct-type traffic and perceived credibility.

What Is a Subfolder?

A subfolder (also called a subdirectory) is a path that follows the root domain, separated by a forward slash. Examples:

  • example.com/blog/
  • example.com/shop/shoes/
  • example.com/affiliate-program/

Subfolders are purely a content organization method. They do not involve DNS changes, separate hosting, or independent SSL certificates. They are always part of the same site.

SEO Implications

This is where the distinction carries real weight. Google has stated that it generally treats subdomains and subfolders as part of the same site, but in practice, subdomains can be treated as separate entities — inheriting their own ranking signals, crawl budget, and authority metrics independently from the root domain.

Subfolders, by contrast, always share the root domain’s authority. A backlink to example.com/blog/article strengthens example.com as a whole. A backlink to blog.example.com/article may not pass full weight to example.com.

Which to Choose

ScenarioRecommendation
Company blogSubfolder: example.com/blog/
Help center / knowledge baseSubfolder or subdomain — either works; subfolder preferred for SEO
Ecommerce store on a different platformSubdomain: shop.example.com
Regional site in another languageSubdomain: de.example.com
Affiliate partner portalSubdomain: partners.example.com
Staging / developmentSubdomain: staging.example.com

Why the Root Domain Matters for SEO

Every major SEO tool — Ahrefs, Moz, Semrush, Zutrix — aggregates link metrics at the root domain level. When a tool reports “Domain Authority” or “Domain Rating,” it is scoring the root domain, not a subdomain or individual page. A link to any page on example.com (whether it is www.example.com/page, blog.example.com/post, or example.com) counts as a backlink to the root domain example.com.

This is why the root domain is the fundamental unit of off-page SEO. When you check a competitor’s backlink profile, you are checking their root domain.

A referring domain is a unique root domain that links to yours. If seonews.com links to your site 50 times across 50 pages, that counts as one referring domain but 50 backlinks. SEO tools use referring domains as a measure of link diversity — and diversity at the root domain level correlates strongly with higher rankings.

You can check backlinks to any root domain using:

  • Ahrefs Site Explorer: Enter the root domain; see total backlinks, referring domains, and domain rating.
  • Moz Link Explorer: Reports Domain Authority and linking root domains.
  • Google Search Console: Under Links, see top linking sites and linked pages — free for domains you own.
  • Semrush Backlink Analytics: Competitive backlink gap analysis at the root domain level.

These tools all work the same way: you input the root domain (competitor.com, not www.competitor.com or competitor.com/blog), and they return metrics aggregated across all subdomains and pages.

Root Domains in Affiliate Marketing

The root domain is not just an SEO concept — it directly affects how affiliate programs track, attribute, and report on performance.

Tracking and Attribution

Affiliate tracking relies on cookies, and cookie scope is tied to the domain. A cookie set on example.com can be read by blog.example.com if configured correctly. A cookie set on a completely different root domain — say an advertiser’s brand.com vs a publisher’s reviewsite.com — cannot, due to browser same-origin policy.

This matters for:

  • Cross-domain tracking: When a click on publisher.com redirects through an affiliate network to advertiser.com, the tracking pixel or postback URL must bridge the gap — cookies alone cannot.

For Advertisers

If you run an affiliate program for your product, your root domain is where conversions happen. Key considerations:

  • Vanity domains: Some advertisers register a separate root domain (e.g., brandpartners.com) for their affiliate portal. This creates a clean separation but means the portal builds its own domain authority from scratch.
  • Subdomain approach: partners.brand.com keeps everything under the main root domain, sharing its authority and simplifying SSL management.
  • Landing page domains: Affiliate links should point to a page on your main root domain whenever possible. Redirecting through a separate tracking domain adds latency and can break attribution.

For Publishers

If you publish affiliate content — reviews, comparisons, roundups — your root domain is your most valuable SEO asset:

  • Domain authority compounds over time. A root domain that has accumulated referring domains over years will outrank a newer domain with similar content quality.
  • Subdomain content sites rarely outperform subfolder setups. If you are launching a new content section, put it at yoursite.com/reviews/, not reviews.yoursite.com.
  • When buying an existing content site, always check backlinks at the root domain level — not just the specific pages you plan to keep. The root domain’s link profile is what you are acquiring.

For Affiliate Program Managers

When managing an affiliate program, root-domain-level reporting reveals patterns that page-level data obscures:

  • Publisher quality: A publisher with strong root domain authority and diverse referring domains is likely a lower risk for fraud than one with a brand-new domain and concentrated backlinks.
  • Traffic source patterns: If a single root domain sends an abnormally high volume of clicks with zero conversions, investigate for click fraud or bot traffic.
  • Competitor recruitment: Use backlink checkers on competitor root domains to identify publishers already linking to them — these are warm prospects for your own program.

How to Set Up a Root Domain

Registration

  1. Search for your name: Most short, memorable .com names are taken. Be prepared to try variations or consider alternative TLDs.
  2. Register and verify: After payment, verify your email address. ICANN requires accurate WHOIS contact information, though most registrars offer privacy protection (free or included).

DNS Configuration

After registration, point the root domain to your hosting:

  • A record: Maps the root domain (example.com) to your server’s IP address.
  • CNAME record: Often used for the www subdomain to point it to the root.
  • MX records: Direct email to your mail provider.
  • TXT records: Used for SPF, DKIM, and domain verification.

Propagation Time

DNS changes do not take effect instantly. Plan for the full window when coordinating a site launch.

Common Mistakes

  • Not redirecting www to non-www (or vice versa): Pick one canonical version and 301-redirect the other. Serving both splits your backlink profile and confuses search engines.
  • SSL certificate missing for the root domain: Ensure your SSL covers both example.com and *.example.com (wildcard) if you use subdomains.
  • Registering the domain with the wrong account: Keep domain registration and hosting separate when possible, and enable two-factor authentication on your registrar account.

Types of Domains at a Glance

TypeDefinitionExampleWho Controls It
Root (DNS)The highest level of the DNS hierarchy. (trailing dot)ICANN / root server operators
Top-Level Domain (TLD)The suffix after the final dot.com, .org, .ukRegistry operators (delegated by ICANN)
Root DomainThe registered name + TLDexample.comDomain registrant (you)
Second-Level DomainThe name part of a root domainexample in example.comDomain registrant
SubdomainA prefix before the root domainblog.example.comRoot domain owner
SubfolderA path after the root domainexample.com/blog/Site owner (content structure)
Parked DomainA registered domain not in active usemybackup.com → redirects to main siteDomain registrant
Addon DomainA separate root domain hosted on the same accountmyothersite.com on same hosting planHosting account owner

Frequently asked questions

Start Affiliate Marketing with a Strong Domain

Optimize your affiliate marketing efforts by understanding and setting up your root domain effectively. Explore tools and strategies to boost your online presence.

Learn more

Subdomain

Subdomain

A subdomain is a prefix added to a domain name that creates a separate section of a website, such as blog.example.com.

15 min read
SEO AffiliateMarketing +3
Is a Subdomain a Separate Website? Understanding Subdomains
Is a Subdomain a Separate Website? Understanding Subdomains

Is a Subdomain a Separate Website? Understanding Subdomains

Learn whether a subdomain is a separate website. Discover how subdomains work, their relationship to main domains, and when to use them for your affiliate marke...

7 min read

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface