Is this how the 301 redirect works?

I want to create a 301 Redirect. Whenever someone types in www.automtc.solutions I want to redirect them to https://automtc.solutions. I would like to share my setup to see why it isn’t working.

Your DNS record for www is not proxied so requests don’t pass through Cloudflare.
https://cf.sjr.org.uk/tools/check?05175ded20c04b289125dd2a4ab618b9#dns

Assuming you want to replace this, remove the CNAME and add a proxied dummy DNS record for www set to A 192.0.2.1 or AAAA 100::.

Note, your host may require to see the CNAME you had for www. If so you will need to set the DNS records back and do the redirect on your host if that is required and do the redirect there instead.

2 Likes

As stated in this response no rules will take effect until the proxy is set.

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