yourdomain.com). This guide walks through adding the domain in Shopify, pointing it to your Hydrogen app, and configuring DNS records.
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 deployed Hydrogen storefront (via Oxygen, Docker, or Cloudflare Workers)
- A registered domain name
- Access to your domain’s DNS management panel
Step 1 — Add Domain in Shopify Admin

Step 2 — Point Domain to Hydrogen
Once the domain appears in your domain list:Step 3 — Configure DNS Records
Log in to your DNS provider’s dashboard and create the following records:Root Domain
| Field | Value |
|---|---|
| Type | CNAME |
| Name | @ |
| Target | shops.myshopify.com |
| Proxy | OFF (DNS only) |
WWW Subdomain
| Field | Value |
|---|---|
| Type | CNAME |
| Name | www |
| Target | shops.myshopify.com |
| Proxy | OFF (DNS only) |
Some DNS providers don’t support
CNAME records on the root domain (@). In that case, look for an ALIAS or ANAME record type, which serves the same purpose. Check your provider’s documentation for details.Step 4 — Verify the Connection
After updating your DNS records:Wait for propagation
DNS changes typically take 5–30 minutes to propagate, though in some cases it can take up to 48 hours.
Verify in Shopify
Go back to Shopify Admin → Settings → Domains and check that your domain shows as Connected.
Troubleshooting
Domain shows as 'Not connected' in Shopify
Domain shows as 'Not connected' in Shopify
- Double-check that both
CNAMErecords (@andwww) point toshops.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 conflicting
Arecords exist for the same domain - 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 happens when Cloudflare’s SSL mode is set to Flexible
- Change Cloudflare SSL/TLS mode to Full or Full (Strict)
- Alternatively, disable Cloudflare proxy entirely (recommended for Shopify domains)
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