Changing a domain target
You can change the target for a domain. Changing targets is only available for stores using Hydrogen custom storefronts.
Considerations for changing the target for a domain
Before you change the target for a domain, review the following considerations:
Changing the target doesn't change the domain type. For example, if a domain's type was
redirectbefore you changed the target, then it continues to be a
If you change the primary domain for a custom domain from one target to a different target, then the primary domain for the previous target reverts to the
myshopify.comdomain name. For example, if you change the target for
johnsapparel.comfrom an online store to a custom storefront, then the primary domain name for the online store reverts to
Domains can only be assigned to a target that is in a production environment that is public.
Change a domain target
From your Shopify admin, go to Settings > Domains.
Click the domain whose target you want to change.
Click Change target.
From the Target list, select the name of the target.
The domain now points to the target that you selected.