How to connect Cloudflare with Digital ocean droplet?

Posted October 27, 2016 6.5k views
UbuntuDigitalOceanDNSUbuntu 16.04


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.

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.

Submit an Answer
1 answer


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