Report this

What is the reason for this report?

Spaces CDN and Managed Loadbalancer SSL not working for root domain

Posted on February 23, 2022

So I have an app that runs on Kubernetes and uses managed load balancer. I am trying to add a custom domain to it. It turns out that I got the SSL for the subdomains working for my site but for the main domain,SSL is not present. Whenever I visit my main domain without any subdomain, it either throws an error and says connection refused or loads with http instead of https.



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.

There could be a few reasons for this. Incorrect DNS settings, absence of a valid SSL certificate for your main domain, or configurations issues in your Kubernetes setup can cause this issue.

To resolve this, you’ll want to ensure that your DNS settings are correctly mapping your main domain to your DigitalOcean droplet’s IP, and that you have a valid SSL certificate for your main domain.

For detailed instructions on how to add an SSL certificate and for configuration with Kubernetes, you can check DigitalOcean’s Load Balancer documentation and the DNS management guide.

Hope that this helps!

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.