: AWS: pointing A record to load balancer on A record causes incoming email to stop functioning I have a webserver running on an EC2. On that EC2 I'm receiving email. I've created a load balancer
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 user@domain.com 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.
More posts by @Steve110
1 Comments
Sorted by latest first Latest Oldest Best
MX record: *.domain.com matches everything but the naked (no subdomain) domain. So no MX for domain.com. Aparently a friendly MTA will try the A record, which used to work for me, since it pointed to the EC2 handling my email.
Long story short. Removed the *. from the MX record and it worked.
I hope this will save someone a couple of hours of trying stuff...
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.