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!
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.