I have a domain called mydomain.com on server1/IP1. I need to put the subdomain store.mydomain.com on server2/IP2.
Am I right I need to add a new DNS A record for the subdomain at the domain registrar? So the DNS zone would look something like this:
mydomain.com. 1 IN A IP1
store.mydomain.com. 1 IN A IP2
If this is correct, could you please confirm I am right in thinking if the subdomain was on server1/IP1 (so both the domain and subdomain are on the same server), I would add the new DNS A record for the subdomain at the hosting company's DNS zone rather than the registrar's DNS zone?