Hi,
I am trying to redirect my domain from .ca to .com.
I have a URL redirect page rule with code 301 to redirect from wildrosemining .ca/ to wildrosemining .com.
I have configured an A record with a dummy IP (192.0.2.1) and a CNAME record for www.
Both records are run through Cloudflare proxy.
I also have some mail records for Cloudflare mail forwarding and that works fine.
I have successfully used the Page Rule syntax that @noah.cramer shared, placing the wildcard before the first character of the apex domain. It comes straight from the “Helpful tips” section of the Page Rules Tutorial.
I still use it for changing settings, but for redirects I have moved from Page Rules to Bulk Redirects.
With as often as Cloudflare for SaaS partners wind up with stale hostnames, that is definitely a good question.
well folks are saying you should be able to hit them both with a single rule, so it could be something else going on but unless you’ve used up all your page rule slots you might as well try a separate rule for the apex domain:
My guess was that it wasn’t hitting the page rule & Cloudflare’s proxy was giving a 503 because it’s not allowed to try to pass the request along to the dummy IP you specified… but maybe not.
This issue is due to the fact that Shopify use Cloudflare for SaaS, hostname priority means requests are still going there instead of your Cloudflare setup because they have not removed it properly . Please contact them and ask them to remove any Cloudflare configurations for your domain, specifically SSL for SaaS / Custom Hostnames. They will likely push back but if you get the right person this should be resolved very quickly.