I'm not quite sure what you're asking, but I'll try to point you in the right direction.
You want CNAME records for specific subdomains to point to one server and show different content depending on which domain is visited? This can be managed through your web server. If you're using Apache you'll want to look into VirtualHosts. Other web servers will have something similar that you can configure.