Below is a common setup for any website.

Records
  1. A: domain.com -> {WEBSITE IP ADDRESS}
  2. A: www.domain.com -> {WEBSITE IP ADDRESS}
  3. A: mail.domain.com -> {MAILSERVER IP ADDRESS}
  4. MX: preference 10 -> mail.domain.com

Details
  1. an A record linking your domain.com to your website ip address
  2. an A record linking your www.domain.com to your website ip address
  3. an A record linking mail.domain.com to your email server ip address
  4. an MX record linking to mail.domain.com

Tips
  • 3 separate A records are recommended because your email and website may reside at different IP Addresses.
  • The A record for www can be replace with a CNAME: www -> domain.com, although this is slightly easier to manage, it will take more bandwidth from your DNS server.

Add Feedback