Some additional info: The domain drinkrebellious.com is for our B2C store on Shopify. The b2b subdomain is a WP site hosted on WPengine. The A record is for drinkrebellious.com. There are CNAME records for ‘b2b’, which point to WPengine, and ‘www’, which points to Shopify.
The b2b CNAME is proxied and the Proxy Status for www is ‘DNS Only’.
My hunch is that because we have things split this way, we can’t have www.b2b.drinkrebellious.com resolve (but I may not know what I’m talking about).
It doesn’t much matter where everything is, except that your DNS is here. So you’ll need a DNS record called just www.b2b (because the domain is added on automatically). If it’s set to , then you’ll need that ACM certificate. If it’s set to , then your server will need to do the redirect instead of the Page Rule in the tutorial.
All in all, I don’t think it’s worth the effort to accommodate a ‘www’ prefix in front of a subdomain. People will either type in what they see, or they’ll follow an existing link.