Hosting » DigitalOcean » How do I add Cloudflare to DigitalOcean?

How do I add Cloudflare to DigitalOcean?

Last updated on December 17, 2022 @ 2:47 pm

Cloudflare is a security and performance enhancement company. It provides a free, global CDN and DNS service. You can add Cloudflare to DigitalOcean by following these steps:

1. Create a Cloudflare account.

2. Go to the DigitalOcean account settings page and click the Cloudflare button.

3. Click the Add Cloudflare button.

4. Enter the Cloudflare API key and secret key.

5. Click the Activate button.

6. Click the Back to Cloudflare button.

7. Click the Cloudflare Settings button.

8. Change the DNS settings to use Cloudflare.

9. Change the Security settings to use Cloudflare.

10. Click the Save Settings button.

11. Click the Activate Cloudflare button.

12. Change the IP address settings to use the IP address of your DigitalOcean server.

13. Change the SSL/TLS settings to use Cloudflare.

14. Click the Enable Advanced Features button.

15. Click the Enable Auto Configuration button.

16. Click the Enable Static IPs button.

17.  Click the Enable Catch-All Rules button.

18. Click the Disable Cloudflare Logging button.

19. Click the Enable Automated Updates button.

20. Click the Enable Performance Monitoring button.

21. Click the Enable DNS Prefetching button.

22. Click the Enable HTTP/2 button.

23. Click the Enable IPv6 button.

24. Click the Disable IPv6 button.

25. Click the Enable IPv6 Prefix Translation button.

PRO TIP: If you are not careful, adding Cloudflare to your Digitalocean account can result in data loss. Be sure to backup all data before proceeding.
Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.