Google Apps on a subdomain with CNAME, how to setup MX records?

2 views
Skip to first unread message

ZiglioNZ via StackOverflow

unread,
Apr 23, 2013, 9:31:32 PM4/23/13
to google-appengin...@googlegroups.com

I've mapped a Google App Engine application using "Google Apps for your domain" on one subdomain (say "app.mydomain.com" ) and I've done that with a CNAME record in the DNS settings for mydomain.com.

Is it possible for Google Apps to handle e-mails sent to "@app.mydomain.com"? In the DNS record for mydomain.com, I would have a configuration like this:

CNAME app   GHS.GOOGLE.COM
MX    app 1 ASPMX.L.GOOGLE.COM.

Would the CNAME entry for the subdomain conflict with MX records for the same subdomain?

[edit] The root domain MX record @mydomain.com is NOT setup with Google Apps

[edit2] [related question on Stack Exchange]1



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/16180914/google-apps-on-a-subdomain-with-cname-how-to-setup-mx-records

ZiglioNZ via StackOverflow

unread,
Apr 23, 2013, 9:46:32 PM4/23/13
to google-appengin...@googlegroups.com

I've mapped a Google App Engine application using "Google Apps for your domain" on one subdomain (say "app.mydomain.com" ) and I've done that with a CNAME record in the DNS settings for mydomain.com.

Is it possible for Google Apps to handle e-mails sent to "@app.mydomain.com"? In the DNS record for mydomain.com, I would have a configuration like this:

app.mydomain.com. CNAME   GHS.GOOGLE.COM.
app.mydomain.com. MX    1 ASPMX.L.GOOGLE.COM.

Femi via StackOverflow

unread,
Apr 23, 2013, 10:52:30 PM4/23/13
to google-appengin...@googlegroups.com

You should be able to setup an alias domain as documented at http://support.google.com/a/bin/answer.py?hl=en&answer=53295.

HOWEVER: you won't be able to maintain separate users for your subdomain. That will probably be an issue. I'd recommend looking at one of the folks who do mail to URL routing (like mailgun or Sendgrid): you could have mail POSTed to your app engine app, and then extract the recipient info and deal with it appropriately.

EDIT: ah, misunderstood. Now, correct me if I'm wrong, but you're trying to have Google Apps handle all emails for a subdomain of an existing domain that is not already a Google Apps domain? If that's the case then you probably can't do this, since DNS basically won't let you assign different MX records to a CNAME'd subdomain. You can either use A records or point your root MX records at Google Apps (and then subdomain mail will go to the same place).



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/16180914/google-apps-on-a-subdomain-with-cname-how-to-setup-mx-records/16181313#16181313
Reply all
Reply to author
Forward
0 new messages