Question

Domain name registered on AWS and email server on Digital Ocean

Posted November 16, 2014 3.9k views

Hi folks. I have bought a domain on AWS by using their service Route 53. I’d like to create an email server here on Digital Ocean. The MX record has to be created on AWS, hasn’t it? I have found a tutorial on digital ocean to build a iredmail server on a ubuntu droplet. It says “If you have a domain name you want to use, name your droplet as that domain name, which will become its hostname and reverse DNS record.” this means that if I call the droplet like my domain, all the request will be addressed to domain name server on AWS?

3 comments
  • No. Name your droplet something.yourdomain.com. Then make an A record

    something IN A droplet's.ip.address
    

    and then an mx record

    yourdomain.com. IN MX something
    

    You can use whatever name you like as ‘something’ but be consistent.

  • in that way the emails registered on the email server will be myemail@mydomain.com or myemail@something.mydomain.com?

    I need that emails have to be registered with mydomain.com

  • The MX record is set on yourdomain.com. so your email addresses will be @yourdomain.com, not @something.yourdomain.com.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

This question was answered by @bofh:

No. Name your droplet something.yourdomain.com. Then make an A record

something IN A droplet’s.ip.address

and then an mx record

yourdomain.com. IN MX something

You can use whatever name you like as ‘something’ but be consistent.

You can see the comment here.

This question was answered by @bofh:

No. Name your droplet something.yourdomain.com. Then make an A record

something IN A droplet’s.ip.address

and then an mx record

yourdomain.com. IN MX something

You can use whatever name you like as ‘something’ but be consistent.

View the original comment

Submit an Answer