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:
example.comto point to ELB
@.example.comto point to ELB
I kept the following records:
*.example.comto point to 10 mail.domain.com
mail.example.compoints to EC2
In this setup the load balancer is working, directing traffic to EC2.
However, if I send an email to
email@example.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.