I have a domain (mydomain.com). I use AWS Route 53 to point this comain to a server hosted on EC2. I was able to add a CNAME record for 'www.mydomain.com' or 'someprefix.mydomain.com'. Route 53 has SOA and NS record for 'mydomain.com' and does not allow to add a CNAME record for 'mydomain.com'.
I need this record to be able to type the domain with or without the leading 'www' in the browser.
More important, I plan to run a mail server on the machine and I believe mail clients need to resolve the 'mydomain.com' part of my user email addresses (e.g. [email protected]).
How do I do that?