Report this

What is the reason for this report?

Redirect from non-www and default DigitalOcean domain to www

Posted on February 27, 2024

I’m using the App Platform for my web application and have added two domains: www.example.com and example.com. The default DigitalOcean domain https://some-digital-ocean-default-domain.ondigitalocean.app is still in place and can’t be removed. I want to ensure that visitors going to https://example.com or the default DigitalOcean domain (https://some-digital-ocean-default-domain.ondigitalocean.app) are automatically redirected to https://www.example.com. Is there a solution or workaround to achieve this?

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.