Finding the real IP behind Cloudflare

Cloudflare provides the services of a Content Delivery Network and at the same time enhances the security of websites. Cloudflare is easily setup for websites regardless of the platform. What Cloudflare does is it stops malicious traffic from reaching the website’s server. Any traffic requesting to access the website gets routed through Cloudflare’s network. It has its own domain name server services, so any website that uses Cloudflare will not have their real IP public.

As shown below, running the command ping gives the IP address

However, if we try to access the website through that IP address, we get the following Cloudflare error.

If we check the domain using the command whois, it shows that the name server is Cloudflare. This verifies that is the Cloudflare IP and not the real IP.

There are various methods to find the real IP of a website behind Cloudflare. The simplest one and probably the first one that should be tried is To use, all you need to do is input the domain that you are targeting. As shown below, gives us an IP address along with the OS, open ports, etc.

The IP address detected by is We need to make sure that this is the correct IP of the domain. One thing you can do is try to access the website through the IP address as shown below. We see that the IP address detected by leads to


Leave a Reply

Your email address will not be published. Required fields are marked *