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 redirect before you changed the target, then it continues to be a redirect type after.

  • 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 domain name. For example, if you change the target for from 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

  1. From your Shopify admin, go to Settings > Domains.

  2. Click the domain whose target you want to change.

  3. Click Change target.

  4. From the Target list, select the name of the target.

  5. Click Save.

The domain now points to the target that you selected.

Ready to start selling with Shopify?Try it free