How can you test CloudFlare without changing your domain's name server?
I would not want to change my domain's name server and wait hours for propagation only to find out there is a issue with the DNS settings.
Can you spoof a nameserver or something on a local hosts file?
Can I use Cloudflare without changing my nameservers to Cloudflare? Yes. If you can't change to our nameservers — which is what allows us to proxy your site traffic — you have two options: Activate Cloudflare through one of our certified hosting partners.
CloudFlare offers a CNAME pointing option whereby you can keep using your own DNS, and then pointing CNAME records through CloudFlare (not A records, but CNAME records). So you can use a CNAME setup like this without changing your DNS, and yet still route content through our service.
Using subdomains with CloudFlare If you don't actually want the whole domain's DNS to be Cloudflare-based, then you don't have to change the whole domain's nameservers. You can delegate a subdomain to Cloudflare, in the same way that the TLD has currently delegated your domain to Namecheap.
Yes, you should be able to test before you change your name servers. Here's what to do:
While this will work for a while, after 24 hours CloudFlare's system may detect that your name servers haven't updated and, in some cases, may return an error. However, this technique should allow you basic testing before you update your name servers.
To save future users from some headache, the above answer doesn't work anymore: https://community.cloudflare.com/t/ip-on-cloudflare-nameserver-is-not-masked-despite-orange-cloud/76137
From my understanding, you now need to change your nameserver.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With