Changing the domain type and target
Domains can be one the following types:
In addition, domains have different types of targets:
- online store
- custom storefront
Each target must have one primary domain, but they can also have zero or more routing domains and redirect domains.
Initially, the primary domain for your store is the
.myshopify.com domain name that was generated when you signed up for Shopify. You can add a custom domain, and then set your custom domain as the primary domain.
Redirect domains point to targets as well, but then your visitors are redirected to the primary domain when they enter the redirect domain name into the browser's address bar.
Routing domains point to the target, but don't redirect to the primary domain. Routing domains are only used for custom storefronts that are created using Hydrogen.