Search code examples
azurednsappdomain

Azure custom domain not validating ownership


We have three sites with three slots each and want to set up domain/ssl for all of them. TXT- and CNAME's are all set up. It started off really good, and I was able to set domain/ssl for all but 2 which failed with "could not confirm ownership". Next day I tried again, and one of the two worked (we hadn't done any updates) but one still fails.

I get that this is a bug, but does anyone know of a workaround?


Solution

  • The problem was that I had set up only one TXT record for the domain (not one per subdomain). The reason this was difficult to identify was that it worked for all subdomains except one.

    Adding TXT records for all subdomains resolved the issue