I was wondering if anyone here has tried setting up a separate blog for their main site through a subdomain that points to an entirely different server.

I have a domain name that points to a Nginx server. I want the subdomain to point to a Medium Publication (blog) that is on Medium's servers. Apparently, I can achieve this with a combination of cname and a records but I don't want it to break the main site.

If I create A records for all the IP's of both server systems, then CNAME records for the subdomain and main domain - can I make this work all through that shared domain but with varying servers?

Thank you in advance