Question

How do I setup ssl for subdomain of Wix for app hosted in digitalocean

I am managing some deployments on Digitalocean Kubernetes. I have those deployments mapped to subdomains api.primarydomain.com, and admin.primarydomain.com.

There is a wix site mapped to the primary domain and the dns is setup on wix. The challenge I am having is setting SSL for those subdomains whose apps are not hosted on wix.

Any Idea on how I can pull this off?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

What I could suggest here is to encrypt the traffic to your Kubernetes cluster by using an SSL certificate with the DigitalOcean Load Balancer. You can follow the steps on how to do that here:

https://www.digitalocean.com/docs/kubernetes/how-to/configure-load-balancers/#ssl-annotation

If you are not using a DigitalOcean Load Balancer, another option would be to try out this tutorial here on how to set up an Nginx Ingress with Cert-Manager on DigitalOcean Kubernetes:

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-with-cert-manager-on-digitalocean-kubernetes

Hope that this helps! Regards, Bobby