After I changed the domain, the Let’s Encrypt renewal continues to use the previous one and keeps failing

I have a static site hosted on netlify. Today I changed my domain from .com to .tk. After setting up the DNS stuff, in Domain Management I got an error like SniCertificate::CertificateInvalidError: Unable to verify challenge for *.foobar.tk. The details below shown that the previous .com domain is still used when trying to renew the Let’s Encrypt certificate.

A post was merged into an existing topic: SniCertificate::CertificateInvalidError: Unable to verify challenge for my domain