How to connect Cloudflare with Digital ocean droplet?

October 27, 2016 4.4k views
DigitalOcean DNS Ubuntu Ubuntu 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.

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

Have another answer? Share your knowledge.