#Bulk redirect

7 messages · Page 1 of 1 (latest)

gritty sand
#

Hi! I'm trying to configure a Bulk Redirect in Cloudflare so that any request to https://example.com/[anything] redirects to https://app.targetsite.com/[same-path]. (I have many domains that I want to redirect to the targetsite)

For example:
https://example.com/abc123https://app.targetsite.com/abc123

I also want subdomains like www.example.com or test.example.com to be redirected the same way to app.targetsite.com, following the exact same rule.
It's important that everything after the slash (/) is preserved and passed to the destination URL.

Here’s what I’ve done so far:

Created a Bulk Redirect List with:
https://example.com/* → https://app.targetsite.com/${1} (301)

Enabled the redirect rule and selected the list

Added an A record for example.com pointing to 192.0.2.1, proxied (orange cloud)

It doesn’t seem to be working yet.

Do I need to configure anything else in DNS or the redirect settings?
Should I enable options like “Subpath matching” or “Include subdomains”?
Do I need additional DNS entries for the subdomains?

Thanks a lot in advance for your help!

gritty sand
#

Bulk redirect

modern star
gritty sand
modern star
modern star
# gritty sand DNS_PROBE_FINISHED_NXDOMAIN

So it's either DNS cache or the record is wrong. Did you try from another device like a mobile phone? If you can share the url that should be redirected that'd also be helpful