My primary email points to gmail and it works great. However I’ve had to setup an exchange account for another project, and it would seem the best way to do it is with a subdomain to reroute.
Created a subdomain and started adding records for Microsoft:
MX -/- subdomain -/- subdomain-domain-ca.mail.protection.outlook.com -/- Works CNAME -/- autodiscover.subdomain -/- autodiscover.outlook.com -/- Doesn’t work CNAME -/- msoid.subdomain -/- clientconfig.microsoftonline-p.net -/- Doesn’t work CNAME -/- enterpriseenrollment.subdomain -/- enterpriseenrollment.manage.microsoft.com -/- Doesn’t work CNAME -/- enterpriseregistration.subdomain -/- enterpriseregistration.windows.net -/- Doesn’t work CNAME -/- sip.subdomain -/- sipdir.online.lync.com -/- Doesn’t work CNAME -/- lyncdiscover.subdomain -/- webdir.online.lync.com -/- Doesn’t work TXT -/- v=spf1 include:spf.protection.outlook.com -all -/- Doesn’t work SRV -/- _sip._tls -/- sipdir.online.lync.com -/- Works SRV -/- sipfederationtls.tcp -/- sipfed.online.lync.com -/- Works
CNAME and TXT records work with main domain, not sure what I’m doing wrong with the sub? Is this not possible? Google makes me think so.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
@daveb55d3c5c299
One issue that I spotted right off was the fact that you’re not defining the actual sub-domain anywhere in your DNS Zone.
An
MX
entry does not function as a zone entry for a sub-domain in terms of defining it as a usable point of entry. This entry simply tells the mail server where to point, but it doesn’t function as the base level for an actual sub-domain. You’d need to add either aCNAME
for the sub-domain or anA
entry (if using an IP).If your DNS Zone is identical to what you’ve setup above, since
subdomain
doesn’t have a base entry from which to work from, calls tox.subdomain
would not function since the basesubdomain
doesn’t actually exist in the zone file.Ideally, you would want to setup the
MX
CNAME
asmail
or similar, simply for clarity. That’s how I’d set it up if I were doing the same. For example, I’d take the DNS Zone you provided above and modify it to:The defining change is line #2 where the subdomain is actually defined.