rptrainor
CDCloudflare Developers
•Created by rptrainor on 1/31/2024 in #pages-help
How do I add a mta-sts text file to a https://mta-sts.example.com/.well-known/mta-sts.txt
I was able to add /.well-known/mta-sts.txt to the public directory of my Cloudflare Workers project and going to example.com/.well-known/mta-sts.txt loads the .txt file that the google admin is expecting. My main problem right now is how to I handle the
mta-sts
subdomain that the mta-sts that google admin is looking for. How do I make https://mta-sts.example.com/.well-known/mta-sts.txt
return the same document that https://example.com/.well-known/mta-sts.txt
currently returns in a way that satisfies the mta-sts check.
I currently have a CNAME in the DNS records for this domain on cloudflare with the following properties. But it is still failing the google admin check. Also I followed the procedures in this documentation, the the response from this default worker is not the exact same response that google admin is expecting.
https://developers.cloudflare.com/email-routing/setup/mta-sts/
type:"""
cname
"""
name:"""
mta-sts
"""
target:"""
example.pages.dev
"""
Proxy status:"""
DNS only (gray cloud)
"""2 replies