https://www.namecheap.com/support/knowledgebase/article.aspx/9837/46/how-to-connect-a-domain-to-a-server-or-hosting

 

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.