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?

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.

1 answer


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.

Submit an Answer