How to Set up Cloudflare DNS with DigitalOcean droplet
I am trying to set up my domain (DNS on CloudFlare) to point to a DigitalOcean droplet, but I can’t seem to get it to work properly. I have an Ubuntu Droplet, running WordPress, and on CloudFlare, I have configured an A record to point to the IP address of my droplet. When I try to access it, I get a 521 Error. If I turn the CloudFlare CDN off (grey cloud), the domain takes me to the droplet, but shows the IP address in the browser. How do I configure both my DNS and droplet to have the DNS on CloudFlare pointing to the droplet?
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.