Report this

What is the reason for this report?

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

Posted on January 7, 2020

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).



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.