How to connect Cloudflare with Digital ocean droplet?


I have a Digital Ocean droplet and a cloudflare account. I have given the Cloud Flare Name Server to the Domain. Now, My Question is , How to use the cloudflare with my Digital Ocean Droplet.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


When you gave Domain to CloudFlare (entered right NS records in domain settings) you need to setup A record with Droplet IP in CloudFlare site settings.

Go to CloudFlare, select your domain, find DNS settings and add A record with name * and Droplet IP for value.

This should be it, maybe you will have to wait few minutes or even more for DNS to refresh