开发者

How to set up email service with Heroku custom domain?

开发者 https://www.devze.com 2023-02-03 15:03 出处:网络
I just started out developing with Heroku, but stuck on how to have email service with开发者_如何学Go the same domain that is pointing to Heroku services, e.g. mydomain.com -> Heroku apps.

I just started out developing with Heroku, but stuck on how to have email service with开发者_如何学Go 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, admin@mydomain.com. How do I do that?


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/


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消