I want to understand / replicate the setup of another website where the CDN is provided by a different domain than the actual site.
Let me explain,
When i visit domain2 i get automatically redirected to domain1 where the actual website is. When i look up the nameservers on domain1 i do not see cloudflare, i see private nameservers being provided by namecheap. However when i do a webpagetest lookup i can see that the CDN for domain1 is being provided by cloudflare via domain2.
So if anybody looks up domain1 they do not see cloudflare nameservers instead they see namecheaps private dns.
Does that make sense? How can i set up the same or similar?