Report this

What is the reason for this report?

Subdomain site needs HTTPS/SSL Cert

Posted on January 15, 2022

Hello all, here is my dilemma. here is my setup

  • domain registered with google domain
  • main website is hosted on netlify
  • droplet on digital ocean running node

I need to use or assign an SSL cert to my api.mysite.com. When I use the UI to assign a new cert to this sub domain I get the following error message “Failed to validate nameserver records: a non DigitalOcean Name Server was found for <mysite.com> domain.”

Any suggestions?



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!

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.

Hi @blocksyweb,

I’ll recommend using Certbot to install an SSL for your subdomain located on your Droplet. Take a look at this tutorial here:

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04

It will provide you with an example of how to issue an SSL certificate for the domains on a specific droplet, in your case for api.mysite.com.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.