A record for domain.com and CNAME for www.domain.com?
<p>How do I achieve that people get to my website with "domain.com" and "www.domain.com" ? I always thought both would be the same.</p>

<p>Do I set an A record to "domain.com" and a CNAME to "www.domain.com"? And is "www.domain.com" a subdomain of "domain.com"?</p>