I have two really quick and (hopefully) easy questions relating to subdomains in apache2 / ubuntu.
First, can I have two virtualhosts listen on the same port if one is for a subdomain and one is for the main domain?
Second, how do I configure a subdomain in the DNS control panel for godaddy?
I added this record to my CNAME section
*host* *points to* *ttl*
sub sub.example.com 1hr
Is that correct?