How to set up hosting on Heroku and email forwarders on a WHM (cPanel)?
Posted
by
matija
on Server Fault
See other posts from Server Fault
or by matija
Published on 2013-06-28T21:24:10Z
Indexed on
2013/06/28
22:22 UTC
Read the original article
Hit count: 262
I'm using DNSimple for managing my records, hosting my site at Heroku and I want to use a Linux WHM (cPanel) for managing emails forwarding (DNSimple has that feature, but it's currently not working properly).
Hosting works, but I'm having a hard time getting emails to work. Here are my (pseudo-)records:
Type Name TTL Points to
---------------------------------------------------------
ALIAS | mydomain.com | 3600 | mydomain.herokuapp.com
CNAME | www.mydomain.com | 3600 | mydomain.herokuapp.com
CNAME | mail.mydomain.com | 600 | <WHM server IP address>
MX | mydomain.com | 600 | <WHM server IP address>
NS | mydomain.com | 3600 | ns1.dnsimple.com
... | ... | ... | ...
NS | mydomain.com | 3600 | ns4.dnsimple.com
There are two more records, SOA and TXT, generated by DNSimple, but I don't think those are relevant. When I add an A-record:
A | mydomain.com | 3600 | WHM server IP address
and change the mail CNAME
and MX
records to mydomain.com
, emails start working, but then the hosting doesn't work anymore.
Is this possible to achieve?
© Server Fault or respective owner