node.js droplet Subdomain SSL
We do have a droplet with node.js (ubuntu) and need to secure it via ssl. Let’s say we have the domain example.com - we just using the node.js server for some parts (chat, etc.).
Thus for me the question is, how to achieve that we can use ssl with it. Should we create a subdomain like services.example.com and direct that subdomain to the ip of our droplet via dns and then buy the certificate for that ?
Some hints would be great, thanks!