Cloudflare CDN not working

When we are visiting the GoComet Website www gocomet.com it’s being cached, but the IP address shown is not from Cloudflare and is our own IP address. And checking it on CDN Planet shows that CDN is not implemented. Online tool for testing: www.cdnplanet.com
22 Replies
Unsmart
Unsmart2y ago
Do you have the site proxied? (Orange cloud on)
hakuna_29matata
hakuna_29matataOP2y ago
Yes for gocomet.com it's being proxied For www it's DNS only
Unsmart
Unsmart2y ago
So that would be why then you have to have the proxy on for it to use cloudflare ips and the CDN to be implemented
hakuna_29matata
hakuna_29matataOP2y ago
But I have some internal subdomains too, for them I want DNS only. Data is being cached on cloudflare but only IP is our's
Unsmart
Unsmart2y ago
That isnt possible
hakuna_29matata
hakuna_29matataOP2y ago
Walshy
Walshy2y ago
that isn't www that's the apex which is proxied
$ curl -s -I https://gocomet.com/ | grep server
server: cloudflare
$ curl -s -I https://www.gocomet.com/ | grep server
$ curl -s -I https://gocomet.com/ | grep server
server: cloudflare
$ curl -s -I https://www.gocomet.com/ | grep server
hakuna_29matata
hakuna_29matataOP2y ago
Yes for www here is the SS
Walshy
Walshy2y ago
Yep that isn't Cloudflare, no CF headers You'll need to proxy the record to hit us
hakuna_29matata
hakuna_29matataOP2y ago
So for adding proxy for www , it has to be added for A record only. Or also for AAAA and CNAME ?
Walshy
Walshy2y ago
You can't have an A/AAAA and a CNAME on the same host, what's the CNAME? but yes, you need to proxy the A and AAAA (assuming that's what powers www - if it's just the CNAME then proxy that)
hakuna_29matata
hakuna_29matataOP2y ago
Ok understood, CNAME and A will not be there for same name. Thank you so much, will try adding proxy for A record Ok I have another doubt
hakuna_29matata
hakuna_29matataOP2y ago
Our blogs page are also within same domain and built on wordpress. How are they getting Cloudflare headers
hakuna_29matata
hakuna_29matataOP2y ago
hakuna_29matata
hakuna_29matataOP2y ago
@leodeveloper Can you explain is detail? Ok when checking network tab of /blogs/, we are getting a header i.e., Cf-Edge-Cache | cache, platform=wordpress which indicates that WordPress plugin is installed and enabled. For caching we must also get CF-Cache-Status |HIT header, which displays if the asset is served from the cache or was considered dynamic and served from the origin. So is this information correct ?
hakuna_29matata
hakuna_29matataOP2y ago
hakuna_29matata
hakuna_29matataOP2y ago
yes in both cases cloudflare is coming as server
hakuna_29matata
hakuna_29matataOP2y ago
There is a sudden spike in cache dashboard, is this ok ??
hakuna_29matata
hakuna_29matataOP2y ago
ok understood
hakuna_29matata
hakuna_29matataOP2y ago
On main website it's working perfectly, but on blogs it's showing EXPIRED and API-via: origin.miss
hakuna_29matata
hakuna_29matataOP2y ago
hakuna_29matata
hakuna_29matataOP2y ago
Is line number 14 an issue here ? This is also coming under the same domain It's getting cf headers but those are shown as missed Or expired
Want results from more Discord servers?
Add your server