Read the FAQ I linked to above.
All content must be available on all domains if using a single license/database.
Can multiple subdomains be used with a single license?
Yes, as long as the subdomains all resolve to the same installation, all of the content is available at every subdomain, and there is no attempt to make them appear as separate installations.