Search code examples
dnsdevopsamazon-route53cnamehttp-status-code-302

Unwanted URL redirect


Days ago, I've set up a URL 302 redirect, from subdomain.mydomain.com to target_A.com. I did it in AWS route 53 first, then removed it.

More recently, I added a CNAME record in Cloudflare from subdomain.mydomain.com to target_B.com. However, when entering subdomain.mydomain.com in my browser, I still get redirected to target_A.com ...

How is that possible? Somebody else in my team might have set up a redirect from subdomain.mydomain.com to target_A.com using a DNS web service other than AWS or Cloudflare... How do I find it and remove it?


Solution

  • I had a page rule in Cloudflare that was the cause of my redirect (https://support.cloudflare.com/hc/en-us/articles/200172286-How-do-I-perform-URL-forwarding-or-redirects-with-CloudFlare) ...