Example.com to www.example.com page rule not working

I have set my page rule correctly which is:

and when I try curl -I https://malendra.com --connect-to :: it outputs correctly 301 to https://www.malendra.com

but when I try to access https://malendra.com it returns This site can’t be reached malendra.com’s server IP address could not be found.

Any solution to this? thanks.

You need a proxied DNS record for malendra.com otherwise the request will never reach Cloudflare to be redirected. You can make a dummy AAAA record with a value of 100:: and have it proxied to fix this.

1 Like

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