Attempting to redirect app.ourdomain.ca to app.ourdomain.com while preserving subpaths and query strings. Followed the instructions given by Cloudflare and just added the subdomain to the front but nothing is redirecting. Is there something different that needs to be done for subdomains?
The settings look like the following:
In the bulk redirect list
Source URL: app.ourdomain.ca/
Target URL: https://app.ourdomain.com
Status: 301
Parameters: Preserve Query String & Subpath matching are checked
The proxy status for app.ourdomain.com is set to DNS only, would that be the issue? Or does bulk redirects not handle subdomains as the source URL?
In order for any Cloudflare functionality (DDoS protection, WAF/Firewall rules, Redirect rules, Caching, …) to take effect, the DNS record must indeed be Proxied ().
If you require that /somepath to be a part of the address on the final destination, you might want to flip the check mark on to “Preserve path suffix” too?
Here’s the respective results that I’m getting, by following your advice: