So I am having an issue where on my webserver if you go to wwww.mydomain.com it works and displays the website, but if you go to mydomain.com it doesn't change or redirect you to www.mydomain.com, so people can be on mydomain.com and www.mydomain.com and they act like different websites, you have to login to both seperately if you login with the wwww and then click a link that has www you have to login again. Its like they are 2 independent websites with the exact same everything. Is it possible to force them to be the same thing? redirect or change some records? Thanks for any info.
Currently my DNS setup is, I have A record @ pointing to my elastic IP. and www CNAME points to @