I need to create CNAME alias for link redirection, and need to create sub-domain for creating email.
-
1Please elaborate.– GeneAug 27, 2015 at 14:35
-
I cannot create a subdomain which already created in CNAME. please help me, if there any way to get same name of both CNAME & subdomain– GopiAug 27, 2015 at 14:37
-
1Still not clear. Update your question with what exactly you need (providing either the real CNAME/subdomain names or examples) and explain how you intend on using both.– GeneAug 27, 2015 at 14:39
-
test.mydomain.com for my application redirection. and [email protected] for email– GopiAug 27, 2015 at 14:44
1 Answer
No. You cannot create CNAME
and MX
records for the same name. A CNAME
cannot co-exist with any other record for the same name.
But when you say that you need a CNAME
for HTTP redirects, then you are mistaken. A CNAME
may be convenient, but HTTP doesn't care whether a domain name was resolved using a CNAME
or not.
So what you can do instead is to create three separate records. One MX
record, one AAAA
record, and one A
record. Records of those three types can co-exist on the same name.