How do I setup Cloudflare and DigitalOcean with my droplet?

  • Posted on May 31, 2014
  • shap4thAsked by shap4th

Cloudflare gave me two nameservers to change. Do I need to change this in the droplet hostname - domain section and the domain name servers. Or just one?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

At your Domain Vendor (GoDaddy, Hostgator, namecheap) Change DNS to point to CloudFlare.

At CloudFlare Create an A and AA records to point to your Droplet IP.

At Digital Ocean Add a DOMAIN to your Dropplet (The same as you bought with your Domain Vendor).

I found this video tutorial on youtube very useful

My domain is registered at godaddy and i tried to connect it to Cloudflare, i changed the dns in the godaddy domain control panel but didn’t change anything in my Droplet nameserver section, then all of sudden my site disappeared completely, it went down for 4 hours and i had to go back to the previous settings. is there a good tutorial on how to do this. Here is my Site in chase you need to check out the issue. Help