Skip to main content
Blog

Marketing

Subdomain meaning

What a subdomain is, why stores use one for landing pages and regional shops, and what it means for SEO, ads and tracking.

Start for free

A subdomain is a named section of a domain you already own, like "shop" in shop.yourbrand.com. It costs nothing and takes one DNS record. It can also point to a different platform than your main site, which is how Replo publishes landing pages next to a Shopify store.

Takeaways: A subdomain is free and takes one DNS record. Use one when part of your site needs a different platform, such as ad landing pages built outside your Shopify theme. Google ranks subdomains and subfolders the same, but content you want to rank still belongs on your main domain. Meta verification, the Meta Pixel and GA4 all carry over to a subdomain of your verified domain.

Gymshark shows why a growing store ends up with subdomains. School friends Ben Francis and Lewis Morgan started it in 2012 while at university.

Francis made the first clothes in his parents' garage. He used a sewing machine and screen printer bought with £1,000 of savings. In 2013, Gymshark sold out of all its stock on the first day of the BodyPower trade show in Birmingham. Today it runs 14 international online stores, and uk.gymshark.com is the one for UK shoppers.

Gymshark founder Ben Francis smiling in a black Gymshark quarter-zip top against a grey backdrop
Ben Francis at Gymshark's headquarters in 2021. The shop he started in a garage now runs 14 international online stores. Photo: Wikimedia Commons, CC BY-SA 4.0, by JamesDPerrett

What is a subdomain?

A subdomain is the part of a web address that comes before your domain name. Read shop.yourbrand.com from right to left:

  • .com is the top-level domain, or extension.
  • yourbrand is the domain name you bought from a registrar such as GoDaddy, Namecheap or Shopify.
  • shop is the subdomain: a name you create under that domain, for free, as many times as you like.

Together, yourbrand.com is your root domain. Every subdomain of it still shows your brand in the address bar. Even www is a subdomain of yourbrand.com, which is why most sites redirect one to the other.

Diagram of https://shop.yourbrand.com: shop is the subdomain you create for free, yourbrand is the domain name you buy, .com is the extension, and yourbrand.com together is the root domain. Below it, yourbrand.com/blog, where /blog is a subfolder, a path inside the same site.
You name everything left of yourbrand.com for free. A subfolder comes after the domain and lives inside the same site.

Here is what a subdomain looks like on real sites:

  • store.playstation.com is PlayStation's store, separate from the news and games on playstation.com.
  • blog.adobe.com and helpx.adobe.com split Adobe's blog and help center from its product site.
  • uk.gymshark.com serves Gymshark's UK shoppers with prices in pounds and UK delivery.
PlayStation Store at store.playstation.com and Gymshark's UK store at uk.gymshark.com, each in a browser window with the subdomain, store and uk, highlighted in the address bar.
Two real stores on subdomains. Shoppers see the brand they know in the address bar, while the store behind it runs apart from the main site.

A subdomain is different from a subdirectory, also called a subfolder, which is a path after the domain: yourbrand.com/blog. A subfolder lives inside your main site on the same platform. A subdomain can live anywhere.

How does a subdomain work?

A subdomain works through a DNS record, an entry in your domain's settings that tells browsers where to find it. DNS, the Domain Name System, is the internet's address book. It turns a name like shop.yourbrand.com into the server that holds the pages.

You add one record where your domain's DNS lives. That's usually your registrar, or the Shopify admin if Shopify manages your domain:

  • A CNAME record points the subdomain at another domain name, such as the host of your landing pages. This is the usual choice when another platform hosts the subdomain.
  • An A record points it at a server's IP address, for when you run the server yourself.

Each subdomain has its own record, so each one can point somewhere different. Your root domain can stay on Shopify. Meanwhile shop.yourbrand.com points at a page builder, and help.yourbrand.com points at your support tool. Visitors see one brand, and three platforms run behind it.

A table of DNS records for yourbrand.com: an A record for @ pointing to 23.227.38.65 and a CNAME for www pointing to shops.myshopify.com both lead to the Shopify store; a CNAME for shop pointing to your page builder leads to landing pages on shop.yourbrand.com; a CNAME for help pointing to your help desk leads to a help center on help.yourbrand.com.
One domain, three platforms. The shop record sends shop.yourbrand.com to your landing pages and leaves the Shopify store alone.

Changes usually go live within hours. They can take up to 48 hours to reach every network. The subdomain also needs its own security certificate, the padlock that serves it over https. Most hosts issue one automatically once the record is live.

Why use a subdomain for your store?

Use a subdomain when part of your site runs on a different platform or must stay apart from the main store. For an online store, an ecommerce subdomain usually does one of these jobs:

  • Ad and campaign landing pages. Pages for Meta, Google and TikTok ads change weekly and get tested hard. On shop.yourbrand.com, a page builder can publish them without touching your Shopify theme. A broken test page can't break the store. These pages also skip your theme's app scripts, which helps page speed.
  • A different platform for one job. A help center, a careers site or a wholesale portal often runs on software that can't live inside your store. It gets help.yourbrand.com or wholesale.yourbrand.com.
  • Regional stores. us.yourbrand.com and uk.yourbrand.com can carry their own currency, shipping and legal pages when the differences go beyond a currency switch. Gymshark's UK store works this way.
  • A test copy of your site. On staging.yourbrand.com, you can try a redesign or a new checkout flow before it reaches the main store.
Gymshark's office in Blythe Valley, a dark glass-and-metal building with the Gymshark shark logo over the entrance
Gymshark's office in Solihull, England, in 2018. The company now runs 14 international online stores. Photo: Wikimedia Commons, CC BY-SA 4.0, by daylon

You don't need a subdomain for the things your store's platform already does well. Product pages, collection pages, your homepage and blog posts all belong on the main domain, as the next section explains.

Subdomain vs subdirectory: which is better for SEO?

For pages you want to rank in Google, a subdirectory on your main domain is the safer choice. Google doesn't favor either one, but a few real differences remain.

What Google says. Google's crawling FAQ asks whether subfolders or subdomains are better. Its answer reads, "From an indexing and ranking perspective, Google doesn't have a preference." It tells you to choose whatever is easiest to organize and manage (Google Search Central). Google doesn't penalize a subdomain.

Google Search Central's crawling and indexing FAQ, question "Is it better to use subfolders or subdomains?", with the answer highlighted: "From an indexing and ranking perspective, Google doesn't have a preference."
Google's own answer, from its Search Central FAQ: no ranking preference between a subfolder and a subdomain.

What still differs in practice:

  • Links and reputation build per site. Links that point at yourbrand.com help pages on yourbrand.com most directly. A new blog.yourbrand.com starts with few links of its own. It usually takes longer to rank than the same posts at yourbrand.com/blog.
  • You have more to run. A subdomain is a separate site, with its own sitemap, Search Console property and links back to the store.
  • Signals stay apart. For some pages, that's the point. A weak test page or a short sale page on a subdomain doesn't sit inside the site Google judges your main store by.

A rule you can use:

  • Content whose job is search traffic goes in a subfolder: your blog, buying guides, product pages and collection pages.
  • Pages whose job is paid traffic or a different platform go on a subdomain: ad landing pages, advertorials, quiz funnels, help centers and regional stores.

Most ad landing pages shouldn't be in Google at all. Each one is a near-copy of an offer built for one ad. You don't want shoppers finding last month's discount through search.

On a subdomain, you can keep them out with a noindex setting while your main domain keeps ranking. If you're building those pages now, start from our guide to ecommerce landing pages.

Does a subdomain break Meta verification, pixels or tracking?

No, if it's a subdomain of the domain you already use. Store owners raise this worry most, so here is what carries over, with a source for each.

  • Meta domain verification carries over. Meta's developer FAQ says "domain verification status is inherited by subdomains," so verifying yourbrand.com covers shop.yourbrand.com. You verify the root domain without any prefix (Meta Business Help Center). The one exception Meta names is onboarding to Facebook Commerce, which ad landing pages don't need.
  • The Meta Pixel sees one shopper. The Meta Pixel identifies a visitor with a first-party cookie set on your root domain. A shopper who lands on shop.yourbrand.com and buys on your checkout is one person to Meta. Add the same pixel to the subdomain's pages.
  • GA4 needs no cross-domain setup. GA4 stores its cookie on your root domain by default. One measurement ID tracks a visitor across both sites (Google Analytics configuration reference).
  • UTMs have to survive the click. UTM parameters and click IDs like fbclid sit on the landing page's URL. Whatever hosts your subdomain should carry them onto the checkout URL and onto links back to your main store. If it doesn't, your attribution tool loses the ad that drove the sale.
Meta Business Help Center page "Verify your domain", with two lines highlighted: "You'll only need to verify subdomains when you're onboarding to Facebook Commerce" and step 4, "Enter in the root domain without any prefixes."
Meta's help page: verify the root domain once, and subdomains only matter for Facebook Commerce.

Two limits are worth knowing. Shopify's built-in Analytics reports cover only pages Shopify hosts. Page views on a subdomain show up in GA4 and your pixels, not in Shopify's reports. Orders and revenue still land in Shopify.

Also, some attribution tools, such as Triple Whale, track only listed domains. Add the subdomain in their settings before they count its sessions.

How much does a subdomain cost?

A subdomain costs nothing. Once you own yourbrand.com, you can create shop.yourbrand.com, help.yourbrand.com and many more at no charge.

What runs on it can cost money: hosting, a page builder or a help center tool. Compare that with a separate domain such as yourbrand.store. It's a new purchase that renews every year, and a name your customers haven't seen. If you own your brand's .com, a subdomain of it is the cheaper choice and the one shoppers trust.

How do you set up a subdomain for landing pages?

Pick the name, add one record, then check your tracking before you send traffic. These steps work with any host:

  1. Choose a short, obvious name. shop, try, get or offers reads as part of your brand. Avoid random strings, because shoppers check the address bar before they pay.
  2. Add the record your host gives you, usually a CNAME, in your DNS settings at your registrar or in Shopify admin.
  3. Wait for the certificate. Once the record is live, the host issues the https certificate.
  4. Add your pixels and analytics: the same Meta, GA4 and TikTok IDs your main store uses.
  5. Click through once with test UTMs. Land on the page, add to cart, reach checkout, and confirm the parameters and pixel events arrive.

In Replo, every site first publishes to a free replosites.com address. You can build and share pages before you touch DNS.

When you're ready to run traffic, tell Replo the subdomain you want. Add the record it shows you at your DNS provider, and click I've added these. Replo checks for the record and issues the certificate for you (Replo custom domains).

Replo carries UTMs and click IDs onto your Shopify checkout and links back to your store. Orders land in your Shopify admin. The full set of tracking answers is in our docs on why Replo publishes to a subdomain.

To start with the page, build a landing page with AI. Or turn your best ad into a page that keeps its promise. You can start free and publish on replosites.com today.

Replo's Site settings with the Domains tab open: "Add a domain. Connect a domain you already own. Until then, your site is live at global-services-bookings.replosites.com." The domain field, showing shop.example.com, and the Connect button are outlined.
In Replo, the subdomain goes in one field under Site settings, Domains. The site stays live on its replosites.com address until the record is in place.

How do you keep branding consistent across subdomains?

Make the subdomain look like the next page of your store, so shoppers never wonder if they've left:

  • Same logo, fonts, colors and favicon as the main store.
  • A way back: the logo and menu link to the main store, and the cart leads to the same checkout.
  • The same voice and offers. A discount on the landing page should show up in the cart at the same price.
  • A naming pattern. Pick one or two prefixes, like shop and help, rather than a new one per campaign.
Powerlifter John Haack in a grey Gymshark tank top at Muscle Beach, Venice, with palm trees behind him
John Haack in Gymshark at Muscle Beach. The same shark logo appears on every Gymshark store, whatever the subdomain. Photo: Wikimedia Commons, CC BY 3.0, by Gymshark

Replo reads your site's logo, fonts and products when it builds. Pages on your subdomain start on your brand, not a template's.

Replo's Branding app with Graza's brand kit pulled from its website: logo, colors, fonts and a one-paragraph brand summary
Replo's brand kit for Graza, read from graza.co, is what every page on the subdomain starts from

When shouldn't you use a subdomain?

Keep these on your main store:

  • Your homepage, product pages and collection pages, which need your theme's navigation, search and apps around them.
  • SEO content such as blog posts and buying guides, whose job is building your main domain's reputation in search.
  • Pages that depend on your theme's code or on apps that only work inside your Shopify theme.

For those, edit your theme directly. Replo Theme Builder publishes pages into your Shopify theme on your main domain. Many stores run both. The theme holds the pages that must live there, and a subdomain holds everything built to sell from an ad.

Frequently asked questions

Do subdomains cost money?
No. Once you own a domain, you can create subdomains of it for free in your DNS settings. What can cost money is whatever runs on the subdomain, such as a hosting plan or a page builder, not the subdomain itself.
Does a subdomain hurt SEO?
No, not by itself. Google says it has no preference between subdomains and subfolders for indexing and ranking. A new subdomain does build its own links and reputation, so content meant to rank usually does better in a folder on your main domain.
Is www a subdomain?
Yes. In www.yourbrand.com, www is a subdomain of yourbrand.com. Most sites now treat www and the bare domain as the same site and redirect one to the other, so visitors reach the same pages either way.
How long does a new subdomain take to work?
Usually minutes to a few hours. A DNS change can take up to 48 hours to reach every network, and the host issues the site's security certificate once the record is live. Most hosts, Replo included, issue that certificate automatically.
Should my store's blog be on a subdomain or a subfolder?
Put it in a subfolder, in most cases. A blog's job is to win search traffic, and yourbrand.com/blog builds on the links and reputation your main domain already has. Use blog.yourbrand.com only when the blog must run on a different platform.
Should I buy a .store domain or use a subdomain for my shop?
Use a subdomain if you already own your brand's domain. shop.yourbrand.com is free and carries the name customers know. yourbrand.store is a separate purchase that renews every year, with a name customers haven't seen. Buy the new domain only if your usual one is taken.
Do I have to verify a subdomain with Meta again?
No. Meta says subdomains inherit domain verification, so if yourbrand.com is verified in Business Manager, shop.yourbrand.com is covered. The one exception Meta names is onboarding to Facebook Commerce, which ad landing pages don't need.

Research competitor ads

Replo pulls every ad your competitors run, with the page each one sends shoppers to.