How do I find the IP address associated with my Cloudflare host, considering Cloudflare's proxying?

Question

Grade: Education Subject: Support
How do I find the IP address associated with my Cloudflare host, considering Cloudflare's proxying?
Asked by:
99 Viewed 99 Answers

Answer (99)

Best Answer
(524)
Because Cloudflare acts as a reverse proxy, the IP address you see will be Cloudflare's IP address, not the origin server's. You can use tools like `dig +trace yourdomain.com` or `traceroute yourdomain.com` to trace the path your request takes. The final IP address in the trace will be Cloudflare's. You can also find Cloudflare's IP ranges on their website: [https://www.cloudflare.com/ips/](https://www.cloudflare.com/ips/). Note that Cloudflare's IP ranges can change, so it's best to use their official documentation.