I have not set up any cdn for my website, but my php swoole chatbot is unable to connect due to incorrect IP address with CDN and speed cache set up. I am not sure if this is related to cloudflare. The IP address is situated in the United states which is different from my server IP
These are anycast so are announced from every data centre so if you are looking up the IP address owner, it doesn’t tell you the location. You are served from the location shown against “Colo” here… https://jomshop.com.my/cdn-cgi/trace
If your site doesn’t work when proxied, you can change it to “DNS only” or set the items that don’t work with the proxy to use a “DNS only” subdomain. Any traffic going to “DNS only” records does not pass through Cloudflare so won’t benefit from Cloudflare protections or features.
I have tried shutting down all the proxies for my dns records. But the php swoole application doesn’t work as well. I have restarted with the terminal and cleared all the cache. The problem is that I did not set up the cdn for my website but there is a cdn with USA IP.
If the records are “DNS only”, then your site traffic is not going through Cloudflare. Any problem you would need to check on your server.
I’m not sure what you mean by that. When records are proxied, Cloudflare will automatically cache eligible files, you can change behaviour with cache rules.
If not proxied, then Cloudflare won’t be caching or serving any data for your site.
As I said, if your records are proxied then they are using anycast Cloudflare IPs and the location of the IP address won’t be accurate. You need to use the trace link I posted to get the actual location.