Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Point subdomain in CloudFlare to Digital Ocean droplet
I would like to have SSL (https) in my droplet and I understand this is not possible without using a subdomain / domain pointing to the droplet IP.
I have a domain using Cloudflare and I would like to create a subdomain pointing to my Digital Ocean droplet. (using test.example.com)
When I do so without using the Cloudflare “proxied” option, it all works well:
A —— test —— DROPLET_IP — DNS ONLY (not proxied)
However, when I use the orange cloud icon (proxied) then it won’t work.
Why is that?
Also, I noticed there’s a “Networking” tab in Digital Ocean where we can add a domain.
Do I need to do anything there in this case ? Or should I manage everything through CloudFlare?
I’m not used to deal with these things and I get a bit lost in here :)
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.×