Simailar to this question, I want to configure DNS hosted with GoDaddy to have a subdomain on a different IP from the root site. The issue I am having is that GoDaddy uses a GUI and does not grant direct access to bind (that I can see).
When I enter an name for the A record (i.e. Server2), the ui allows it. But when I try to point the subdomain's CNAME record to Server2, it tells me its an invalid host name.
What am I missing here?
You only need an A record in order to host a subdomain. A CNAME record is basically an Alias. For example, www records are usually CNAME records to the root domain, as they are generally the same page.
GoDaddy offers total DNS control and definately has the capability to do this.
Even in bind, to host a subdomain at IP different than your main site, the records would look something like this:
If you really want to create a subdomain, with servers named like "www.subdomain.roballen.com", as opposed to "server1.roballen.com", "server2.roballen.com" etc (which are just regular host names in your domain, not subdomain, and have been covered by the first two answers), then you need:
subdomain IN NS ns1.subdomain.roballen.com.
subdomain IN NS secondary.externalhosting.com.
ns1.subdomain IN A 1.1.1.1
You need to make sure that you are pointing it to the correctly written A-record.
Notice that there is a dot after mydomain.com or else it won't work.