TonyTakeshi
TonyTakeshi

Reputation: 5929

How to set up email service with Heroku custom domain?

I just started out developing with Heroku, but stuck on how to have email service with the same domain that is pointing to Heroku services, e.g. mydomain.com -> Heroku apps.

I want to have email service with mydomain.com, perhaps, [email protected]. How do I do that?

Upvotes: 4

Views: 3760

Answers (3)

Alper
Alper

Reputation: 3973

In any case if you want e-mail service you should not setup a CNAME record for the same domain that your MX record is on, because the CNAME record will always override.

Upvotes: 1

Robert B
Robert B

Reputation: 2883

I found a good blog post that shows you how to do this using Google Apps, Heroku, and the Heroku Zerigo addon. I found this pretty useful in setting this up for an app I'm working on and it works great.

http://xtargets.com/2010/10/04/using-gmail-for-email-on-a-heroku-managed-domain/

Upvotes: 6

John Beynon
John Beynon

Reputation: 37507

In your domain name control panel you would simply create a CNAME entry for your website www.mysite.com to proxy.heroku.com and add the Heroku custom domains addon and add www.mysite.com as a named site and then you'd create MX records pointing at your mailhost - Heroku don't provide email hosting so you need to use another party. For example most of our clients we use Google Apps for mail hosting so the MX records are pointing at Google.

John.

Upvotes: 4

Related Questions