Setting up A and MX records


I’m having trouble getting my head around A records, CNAME records and MX records. I want to set postfix email server on my vps too.

  1. Can I have two A records? A @ 128.199… A mail 128.199…

CNAME record is:


MX records is:

MX 20

What I’m really asking is, what is the typical set up for these three resource records?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Technically speaking you can certainly have multiple A records for multiple subdomains…

Make sure that A record is created at the DNS manager of the domain, so for example, if you point your domain (via registrant DNS records) to DO NS records, so adding new entry in DO DNS panel will definitely work…