FROM CACHE - en_header

DNS: Shopify Hosted domain, pointing A record to new host. Do I need to leave

9 0 1



I built a headless store and right now I am changing the DNS settings to go live. The domain is a shopify hosted domain, and I pointed the A record to the servers of Gatsby Cloud. They say I also need to change the CNAME record, but this CNAME record is I guess I need to leave this or else checkout etc would be unavailable?


And why I still see my old website.. I tried flushing my DNS, but it did not help.

Replies 3 (3)
Shopify Staff (Retired)
Shopify Staff (Retired)
551 78 116

Hi, @DennisKr 

Since you haven't received any replies here so far, I tried to do some digging on this topic for you, even though it's a little out of our Support wheelhouse. 

For a headless store, you'll need to have a domain pointing to the storefront (not our IP). Then, you'll need to add a subdomain, such as, which points to our IP for the checkout. 


You'll have your A record point to Gatsby (as you have), and then your CNAME points to your custom domain so customers don't see the "" version of your domain at checkout, instead they'll see 

From what I can understand, it sounds like you just need a subdomain pointing to our IP at this point. See how that goes and let us know. 

As well, if you've found a solution in the mean time, I'd love to hear it!


Hilary | Community Manager @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

9 0 1

Thank you for your great answer!


What I have done so far:


My domain is a Shopify Hosted domain, so I created a subdomain inside Shopify Settings, as you told me to do, right?




I can't set the IP of this subdomain, is that right? So the only thing I have to do now is to change my CNAME on the main domain to checkout.*domain*.com ? I see two CNAMES right now, hopefully you can point me out which one to edit/delete:


name: checkout |

name: www |

9 0 1

One last question to clarify. I think everything works but I just want to make sure this is the correct setup.


My domain is bought through Shopify. Inside the Shopify Domain settings, I added a subdomain ( When I look at the DNS settings I see this cname (checkout) pointing to This is correct right? I should not point this to an IP or something?