Custom domain name for Spaces shows list of all files

I currently have a DigitalOcean Space for Object Storage in which I store pictures. Access to the files is set to Restricted in the admin panel, so when I go to, I recieve the “Permission Denied” message as expected. However, I followed this guide to route over a secure connection (https). This works flawlessly and routes to the image in my Space.

However, the problem is, when I go to, I can see a list of all the files, similarly to what I see when I set the access to “Public” in my admin panel. However it seems to be an index created by AWS. I use node.js to upload using S3 but I don’t think that’s causing this to show up?

<ListBucketResult xmlns="">

If someone could point me in the right direction as to how to hide those files… that would be nice!


Submit an 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.

Hey friend,

I’m sorry about the trouble you’re experiencing. We have not been able to replicate this on our side. Is it possible that you have browser addons preventing the setting change to be submitted from the browser to our server?