I'm using Amazon EC2 and put up an Elastic IP.
With my DNS, I have a CNAME for www.mysite.com pointing to the ec2-elasticip-amazonaws.com
and then an A record for mysite.com pointing to the direct elastic ip like 188.8.131.52.
Is this the correct way of setting up the DNS? On my site the www.mysite.com always seems to work but the mysite.com (without the www) sometimes does not resolve correctly. Would say a 50/50 chance.
Why is this?