I have a domain - myapp.com
- hosted by Dream Host. Up until recently I had some php as a signup form at that domain. I also had a one-click install of Word Press at blog.myapp.com
, and could log into GMail through Google Apps from Dream Host at mail.myapp.com
.
A few days ago I migrated my Rails app over to myapp.com
using Heroku's Zerigo add-on. Zerigo worked magic migrating my app over to myapp.com
, however blog.myapp.com
didn't work, and neither did mail.myapp.com
. (I could access mail but I had to go mail.google.com/a/myapp.com
. Plus I was having people tell me their emails to me were bouncing back with errors.)
I contacted Dream Host who helped with getting my blog back - they had me use custom DNS by setting the A record with value 173.236.196.13
for blog.myapp.com
and www.blog.myapp.com
. I did this in Zerigo. The blog was back.
However, I still couldn't access my mail through mail.myapp.com
. So I went back to Dream Host and they told me to:
- Have MX records set for
myapp.com
andmail.myapp.com
pointing tomx1.sub4.homie.mail.dreamhost.com.
andmx2.sub4.homie.mail.dreamhost.com.
Priority of 0 (zero) for both. - Set an A record for
mail.myapp.com
pointing to208.97.132.231
and another forwebmail.myapp.com
pointing to208.97.187.139
.
I did all of the above in Zerigo as well and nothing worked. Worse yet, I think my email stopped working. So I removed the MX records for dreamhost, as well as the A records pointing to 208.97.187.139
.
So where things currently stand, I have an app that works, a blog that works, but email that I still can't access at mail.myapp.com
. And that freaks me out. How can I fix this?
I should note that I'm trying to send mail from my app in SendGrid and GMail (only locally), but have my email accounts and everything else with Google Apps.
I've pasted in all of my Zerigo DNS info below:
myapp.com 174.129.212.2 A 10 minutes
myapp.com 75.101.145.87 A 10 minutes
myapp.com 75.101.163.44 A 10 minutes
myapp.com aspmx.l.google.com MX 1 1 hour
myapp.com alt1.aspmx.l.google.com MX 5 1 hour
myapp.com alt2.aspmx.l.google.com MX 5 1 hour
myapp.com aspmx2.googlemail.com MX 10 1 hour
myapp.com aspmx3.googlemail.com MX 10 1 hour
blog.myapp.com 173.236.196.13 A 10 minutes
www.blog.myapp.com 173.236.196.13 A 10 minutes
www.myapp.com proxy.heroku.com CNAME 10 minutes