Serve a single file at domain-a.com/.well-known/file.json, redirect the rest

Cheers. In Cloudflare I have a Redirect Rule, domain-a.comdomain-b.com. But I need to serve a single file from SiteGround at Domain-a.com.

I’m unsure how I should properly set up my DNS / forwarding rules to make this happen.

Set your DNS record for domain-a.com to point at Siteground. Then, assuming everything else for domain-a.com is to be redirected retaining the path, set up a redirect rule like this…

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.