We used to use a different e-commerce system before. We updated our website and moved our hosting to a different server. We added our website with .com to the A record in dns settings. It works, but when we try to enter the website with www (although we update the new server IP with www) the old website comes up and we have a problem like this for 1 week. We do not have any other nameserver redirection from Cloudflare.
I added the Page rule but still the same problem continues.
We also moved from a cloudflare to another Cloudflare account, but the problem still persists.