yourdomain.com). This guide walks through adding the domain in Shopify, pointing it to your Hydrogen storefront, configuring DNS records, and giving checkout its own subdomain.
This guide uses Cloudflare as the DNS provider for examples, but the same DNS records apply to any provider (GoDaddy, Namecheap, Route 53, etc.). The key difference is where you create the records and how you disable proxying.
Prerequisites
- A Hydrogen storefront deployed to Oxygen, with a public production environment. Development stores and trial plans can’t make an environment public.
- A registered domain name
- Access to your domain’s DNS management panel
Hosting somewhere else (Docker, Cloudflare Workers)? Point your primary domain at that host following its documentation. Only the checkout subdomain (Step 4 below) points to Shopify.
Step 1 — Add Domain in Shopify Admin
1
Open domain settings
Go to Shopify Admin → Settings → Domains.
2
Connect your domain
Click Connect existing domain and enter your domain (e.g.,
yourdomain.com).
Step 2 — Point Domain to Hydrogen
Once the domain appears in your domain list:1
Select your domain
Click on your domain name in the domains list.
2
Change the target
Change the target from Online Store to your production Hydrogen storefront.
3
Make it primary
Set the domain type to Primary. Do the same for any other domain that should serve the storefront.
Step 3 — Configure DNS Records
Log in to your DNS provider’s dashboard and create the following records. Delete any otherA and AAAA records on the root domain: Shopify allows only one of each.
Root Domain
If your provider rejects the shortened IPv6 address, enter it in full:
2620:0127:f00f:0005:0000:0000:0000:0000.
WWW Subdomain
Keep the default TTL.
Step 4 — Add a Checkout Subdomain
Checkout stays on Shopify, so it needs its own subdomain, such ascheckout.yourdomain.com.
1
Connect the subdomain
In Settings → Domains, click Connect existing domain and enter the subdomain.
2
Add its DNS record
Create a
CNAME record for the subdomain (for example checkout) pointing to shops.myshopify.com, with the proxy OFF.3
Set its target
Set the subdomain’s target to Online Store and its type to Primary.
Step 5 — Verify the Connection
After updating your DNS records:1
Wait for propagation
DNS changes typically take 5–30 minutes to propagate, though in some cases it can take up to 48 hours.
2
Verify in Shopify
Go back to Shopify Admin → Settings → Domains and check that your domain shows as Connected.
3
SSL certificate
Shopify will automatically provision an SSL certificate for your domain. This may take a few additional minutes after DNS verification completes.
Troubleshooting
Domain shows as 'Not connected' in Shopify
Domain shows as 'Not connected' in Shopify
- Double-check the
A(23.227.38.65) andAAAA(2620:0127:f00f:5::) records on@, and thewwwCNAMEtoshops.myshopify.com - Ensure DNS proxy is disabled (Cloudflare users: grey cloud, not orange)
- Wait up to 48 hours for full DNS propagation
- Try removing and re-adding the domain in Shopify
SSL certificate not provisioning
SSL certificate not provisioning
- Verify that Cloudflare proxy is OFF (DNS only / grey cloud). This is the most common cause
- Ensure no other
AorAAAArecords exist on the root domain, and no wildcard record points to Shopify - If the domain has
CAArecords, make sure they allow Let’s Encrypt, Google and SSL.com - Check that your domain registrar hasn’t locked DNS changes
- Wait up to 24 hours — Shopify retries SSL provisioning periodically
Site shows Liquid theme instead of Hydrogen
Site shows Liquid theme instead of Hydrogen
- Go to Shopify Admin → Settings → Domains → click your domain
- Confirm the target is set to your Hydrogen storefront, not Online Store
ERR_TOO_MANY_REDIRECTS error
ERR_TOO_MANY_REDIRECTS error
- This usually means a Shopify record is still proxied through Cloudflare (orange cloud)
- Set every record that points to Shopify to DNS only. Shopify doesn’t support Cloudflare’s proxy, so changing the SSL/TLS mode is not a fix
Next Steps
- Deployment Overview — Review all deployment options
- Oxygen Deployment — Deploy to Shopify’s official hosting platform
- Content Security — Configure security headers for your storefront