I have a domain on Cloudflare <example.com>. I have full control over it.
I would like to have a subdomain on DigitalOcean, apps.example.com. I want the digital ocean nameservers to be authoritative for that subdomain.
I added a few NS entries to cloudflare for apps in the example.com
I added the subdomain to Digital Ocean.
Unfortunately, it doesn’t seem as though this worked. Is this even possible?
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!
You need to add the new domain app.example.com to DigitalOcean after that it should give you two nameservers which you must enter them at cloudflare like this
NS app.example.com <DO NameServer1>
NS app.example.com <DO NameServer1>
Now it should be working, to make sure use this command
dig +trace app.example.com
It should show that at the end DO NameServer is serving your request.
I hope it helps.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.