I have multiple https services running on different subdomains of *.domainA.com, but they are all configured with a wildcard certificate for *.domainB.com.

I believe the record below would allow me to access the services, but is it in fact a valid DNS record?

*.domainB.com CNAME *.domainA.com


If there is an A record for *.domainA.com in domainA.com's DNS zone, your dns record would work. You won't achieve to have sub1.domainB.com pointed to sub1.domainA.com, as each subdomain on domainB.com will point to *.domainA.com.

| improve this answer | |
  • Ok, I was hoping dns would employ wildcard search/replace when translating, but wildcards are only used to find a record. Thank you for clearing that up! – xastor Aug 10 '16 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.