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.

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.
Is there any update on this question? I cannot redirect my hugo website hosted by digitalocean app, from www to non-www.
Hi Akaben,
Static Sites on App Platform are not served by an apache server, so an .htaccess file will have no effect. What are you trying to accomplish with that configuration? We can help you find out if it’s possible with App Platform today and if so, help you achieve it.
Hello all,
Normally, if we were hosting the SPA ourselves then we’d have to configure Nginx or Apache to redirect all traffic to index.html
Static websites are not running apache or nginx so an .htaccess file won’t do.
There is a little workaround. Navigate to your SPA application under Apps in your Control Panel. Select the application you wish to make this change to.
Now go to the Settings tab, and scroll down to the bottom. There should be a section that says “Custom Pages”. Edit it, input “index.html” and save. Now wait for the redeployment to happen and it should work when you navigate to any paths!