How do I use a custom domain with Digital Ocean spaces while still using Cloudflare for DNS management?

Hey all, I’d like to add a custom domain to my Digital Ocean space while still using Cloudflare for DNS management, and more importantly, DDOS protection.

How would I go about doing this? I see that there’s an upload your own cert option but I’m unsure as to how to acquire one (as I don’t have access to the space’s command line).

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.

Hello, @the1sword

If you want to manage your DNS settings from Cloudflare you just need to set the CNAME record from your CloudFlare DNS Control Panel and you’re good to go.

Securing your Space is flexible and easy. You can now upload a certificate for your own subdomain or use a free Let’s Encrypt cert that is simple to provision in just a few clicks, right from the Control Panel.

Let me know if you have any questions.

Regards, Alex