Shopify keeps rejecting my primary market's domain settings — what am I missing?
Shopify won't let you save a subfolder, alternate domain, or multi-region setup on your primary market. Here's why, and the fix order that works.
What's going on
Merchants trying to update domain settings in Settings > Markets or Settings > Domains sometimes hit a flat rejection when they try to save changes to their primary market. The page throws an error, often to the effect that the primary market must use the primary domain, and refuses to save without spelling out what's actually wrong with the setup.
This almost always comes down to Shopify's rules for the primary market specifically. Every store has exactly one primary market, and by default it's tied to your primary domain — the root domain your storefront resolves to when no other market-specific path or domain applies. Shopify restricts what the primary market can do: it can only cover a single country or region, and it can't be served from a subfolder path, since that would risk turning your existing root-level URLs into broken links the moment the change saved. Non-primary markets don't have these restrictions — they can use subfolders, separate domains, or subdomains freely.
The confusing part is that the error rarely spells out which rule was broken. Merchants who inherited a store with multiple countries bundled into the primary market, or who try to reuse a subfolder setup that worked on a secondary market, hit the same generic rejection and are left guessing.
Why it happens
Shopify enforces two rules on whichever market is marked Primary: it must contain exactly one country or region, and its domain configuration must resolve to the primary domain or a separate domain of its own, not a subfolder path. These rules exist so that changing the primary market's setup can't turn every existing root-level URL on the store into a broken link.
Because Markets and Domains settings are edited in two different places but enforced together as one rule, it's easy to end up with a primary market still configured the old way — multi-region, or subfolder-based — and have the save rejected until that underlying structure is fixed first.
5 ways to fix it
Confirm the market marked Primary is tied to your actual primary domain, not a subfolder or alternate domain
Go to Settings > Markets and open the market marked Primary, then check its domain setup in Settings > Domains. The primary market has to resolve to your store's actual primary domain (the one labeled Primary under Settings > Domains) or a separate domain of its own — it cannot be assigned a subfolder path. If the primary market currently has a subfolder configuration attached, switch it to use the primary domain first, save that change, and only then adjust the domain settings on your other markets. Trying to save a subfolder setup directly on the primary market is what triggers the rejection, since Shopify won't let the primary market resolve to a URL that could break your existing root-level links.
Split any extra countries out of the primary market
A primary market can only cover a single country or region. If yours currently has multiple countries grouped into it, the domain save will also fail. Create a separate market for the additional countries, move them out of the primary market so it contains just one region, and then retry the domain change.
Check Settings > Domains for a conflicting or leftover assignment
Open Settings > Domains and confirm no other market is already using the domain, subdomain, or subfolder combination you're trying to assign to the primary market. A domain can generally only be tied to one market configuration at a time, and a leftover assignment from a market you thought you'd removed or reconfigured can block the save without a clear explanation.
If you need a different language on your primary domain, use a separate domain or subdomain instead of a subfolder
Subfolders aren't permitted on the primary market. If your actual goal is a different language experience under your main domain, set that market up with its own domain or subdomain rather than a subfolder path — subfolders are only available on non-primary markets.
If the setup is valid and it still won't save, try a clean browser session or contact Shopify Support
Some merchants hit a generic or server-style error on this screen even with a configuration that meets all the rules above — a transient admin issue rather than an actual conflict. Try again in a private or incognito window, or a different browser. If your primary market genuinely is single-region and pointed at a valid domain and the save still fails, contact Shopify Support, since a handful of these cases need a fix on Shopify's side rather than a settings change on yours.
Bottom line
This is a configuration-order problem, not a broken feature. Shopify enforces that the primary market cover exactly one region and resolve to the primary domain or its own separate domain, never a subfolder, and the Domains page rejects anything that breaks those rules without always explaining which one. Work through Settings > Markets and Settings > Domains in the order above and the save should go through — there's no app that substitutes for getting this hierarchy right, since it's a storefront-routing rule Shopify enforces itself.
Browse the rest of the problem library, run a free storefront scan to catch issues like this automatically, or email us and we'll work out a custom solution for it.