Report this

What is the reason for this report?

App Platform CNAME redirect error trying to send "www" to root. ERR_SSL_VERSION

Posted on February 11, 2024

I found and followed these answers for getting www.mydomain.com to redirect to mydomain.com

https://www.digitalocean.com/community/questions/how-to-setup-cname-to-redirect-static-app-platform

https://www.digitalocean.com/community/questions/how-to-redirect-www-mydomain-com-to-domain-com-when-using-app-platform

However, when I add the CNAME to DigitalOcean, and try the “www” address, I get this from browser.

This site can’t provide a secure connection www.mydomain.com uses an unsupported protocol. ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Its an angular front end, Domain is handled by DO, everything else works as expected.

Do you have any ideas?

Thank you.



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.

Heya @friendlylapiswhale,

One of the benefits of using the DigitalOcean App Platform is its managed SSL/TLS. The platform automatically provisions and renews SSL certificates for the domains you add. If you have linked your domain to the DigitalOcean App Platform successfully, an SSL certificate should be automatically provisioned for your domain.

Here’s a step-by-step guide on how to set up a custom domain and SSL with the DigitalOcean App Platform:

  1. Add a Custom Domain to Your App:

    • Navigate to the DigitalOcean control panel.
    • Go to your app’s dashboard within the App Platform.
    • Under the “Domains” section, click “Add Domain”.
    • Enter your custom domain and click “Add”.
  2. Update DNS Records:

    • Go to your domain registrar (in your case, Namecheap) and update the DNS records to point to the DigitalOcean App Platform. DigitalOcean should provide you with the necessary CNAME or A records.
    • It might take some time for DNS propagation, so be patient.
  3. Automatic SSL Certificate Provisioning:

    • Once the DNS records are correctly set up and propagated, DigitalOcean’s App Platform will automatically provision an SSL certificate for your domain using Let’s Encrypt.
    • After this step, your app should be accessible via https:// followed by your custom domain.

You don’t need to create CSR files or manually handle certificates because DigitalOcean automates this for you.

Hope that this helps!

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.