Reputation: 3
There's a website example.com
served at 1.2.3.4
Currently you need to point your registrar's DNS to 1.2.3.4
Then you need to add your site to cloudflare .
And then you need to change the DNS records at registrar to point to Cloudflare DNS.New cloudflare IP returned during DNS query is 5.6.7.8
But if an attacker(or a user) accessed the website when it didn't have cloudflare protection, they can still have the old ip 1.2.3.4
and attack it.
How to hide the origin server IP from the beginning itself (before the site is launched?) so that 1.2.3.4
is hidden from the moment site comes online?
Upvotes: 0
Views: 2779
Reputation: 5580
Buy the domain, don't add any record to it yet, set the nameserver to Cloudflare, and only then add the orange record, which point to an actual IP
Upvotes: 1