AWS: pointing A record to load balancer on A record causes incoming email to stop functioning

by user75761   Last Updated March 07, 2017 22:04 PM

I have a webserver running on an EC2. On that EC2 I'm receiving email.

I've created a load balancer (ELB) directing traffic to EC2

In route 53: - UPDATED A record for domain.com to point to ELB - UPDATED CNAME record for @.domain.com to point to ELB

I kept the following records: MX record: *.domain.com to point to 10 mail.domain.com CNAME record: mail.domain.com points to EC2

In this setup the load balancer is working, directing traffic to EC2.

However, if I send an email to [email protected] it doesn't reach EC2.

I'm pretty sure, I can set it up with a subdomain pointing to the loadbalancer, but I would prefer to have my main domain main point to the loadbalancer.

Hope somebody can help me out.



Related Questions




How to use AWS S3 Route 53 with Gmail business domain?

Updated September 02, 2017 09:04 AM

UoAWS Route 53 masking

Updated March 28, 2016 08:01 AM