How to set up email with Heroku

I'm a little new to this problem, so sorry if this is an obvious question. I am creating a website for a client that is hosted on Heroku. Previously, the client had an old website hosted on HostGator. The domain name was purchased from GoDaddy. The client has its own email domain (e.g. @ client.ca). Today I transferred the new domain of the HostGator site to Heroku, and everything seems to work fine except for the email messages. Email "@ client.ca" no longer works. From what I collect, I have to point Heroku to the Host Gator IP address for emails to work. I'm not quite sure how to do this. Does anyone have a solution for this? Thank!

+4
source share
1 answer

You need a DNS service like dnsmadeeasy or others mentioned in heroku . From there you need to distribute different records, for example. ANAME and CNAME for the hero, CNAME for external resource hosts such as cloudfront, MX (and A) for sending email to the host.

I myself in the process of working with the "email problem":

  • (simpler) The registrar (domain name provider) offers mail hosting, but does not offer ANAME or ALIAS records (shared): you can specify the name servers to DNS and then send an email back to your registrar. Found registrars are very useful in general, helping if you need configuration data.

  • ( ) re nameservers ( , , ). . ? .

  • () ANAME ALIAS . , !

0

Source: https://habr.com/ru/post/1653230/


All Articles