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 shops.myshopify.com. 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.
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 checkout.store.com, 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 "myshopify.com" version of your domain at checkout, instead they'll see checkout.store.com.
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!
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 | shops.myshopify.com
name: www | shops.myshopify.com
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 (checkout.myshopifydomain.com). When I look at the DNS settings I see this cname (checkout) pointing to shops.myshopify.com. This is correct right? I should not point this to an IP or something?
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022