Does setting an A record for a root domain set it (automatically) for subdomains?

Posted by Edan Maor on Server Fault See other posts from Server Fault or by Edan Maor
Published on 2011-01-17T12:42:32Z Indexed on 2011/01/17 12:54 UTC
Read the original article Hit count: 244

I bought a domain from Dreamhost, but my servers are actually running on Amazon's AWS. I have an Elastic IP, say 1.1.1.1.

In the Dreamhost panel, I've added an A record for my domain name, pointing it to 1.1.1.1.

My question is, are all subdomains (e.g. www.mydomain.com, a.mydomain.com, etc.) automatically mapped to 1.1.1.1 as well, because the root is? Or do I have to add separate rules for each subdomain?

© Server Fault or respective owner

Related posts about dns

Related posts about amazon-ec2