Report this

What is the reason for this report?

I need help setting up the .htaccess for my DigitalOcean App Static Website

Posted on December 25, 2021

I created my static website with the new service called Apps, and I tried to add my .htaccess file, so the file gets uploaded and can be accessed by url through URL example.com/.htaccess but is not working on Digital Ocean and it’s not being executed.



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.

Hi @asadDolphin,

Static Sites on App Platform are not using an Apache Server. In that regard, .htaccess files will have no effect on your Application.

What is your aim, if you provide us with more information, we should be able to provide you with some tips or recommendations on how to proceed?

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.