https://help.shopify.com/en/manual/domains/add-a-domain/using-existing-domains/connecting-domains
- you want your root domain (your A record) to point to Shopify's IP address, which is
23.227.38.32
- you want your subdomains (your CNAME records) to point to
shops.myshopify.com
.