Question

Spaces: set index.html as default landing page

Posted November 20, 2017 3.5k views
DigitalOcean Ubuntu 16.04

When I visit:

https://spacename.nyc3.digitaloceanspaces.com/

I am returned:

<Error><Code>AccessDenied</Code><BucketName>pythonforundergradengineers</BucketName><RequestId>tx000000000000000138f64-005a13603e-ae8f1-nyc3a</RequestId><HostId>ae8f1-nyc3a-nyc</HostId></Error>

What I would like to automatically happen is:

https://spacename.nyc3.digitaloceanspaces.com/

goes to

https://spacename.nyc3.digitaloceanspaces.com/index.html

Is there any way to accomplish this?

1 comment
  • Would love to see this feature actually come to life - It’s pretty much the only real blocker for using Spaces as a static site host.

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.

12 answers

We don’t support this in Spaces now (/ –> index.html) but are working on this now. Hope to have some good news for you early next year :) Thanks for the question.

We are still hoping to deliver this kind of functionality before end of year. Sorry I don’t have better / more news at this point.

Any news? More than one year for a simple feature, this product seems abandoned…

Hi All - I am the PM for Spaces. We launched custom subdomain in April as a first step in providing a simple static sites hosting solution. This is currently in design and is the next thing we are working. As someone noted above it’s the last thing that’s required to complete the static hosting story.

  • Thank you for the update! Also amazing work so far - Spaces is simple, and elegant, only missing one thing.

    Adding support for mapping index to entry would truly complete the static site solution. An opt-in maybe for how Spaces (or buckets) could behave?

    Really looking forward to this feature! As I’m sure countless other unheard voices are as well.

    EDIT:
    Another consideration please - automated workflows is a big part of many projects, please don’t forget about giving attention to an intuitive programmatic API (doctl one day I hope) where we can fully control the Spaces ecosystem.

    Thank YOU!

  • Hi @pchakravarthi ,

    Any ETA on this “default root object” feature? (/ –> index.html)
    As others mentioned, this is one of the biggest show stopper for us to host static websites :(

    -Thiru

  • Would love to see this implemented.

Hi, I just completed a static site project (due in 2 hours) and as I’m about to victoriously ship it before the deadline I come across this issue.

Please, please document PROMINENTLY that this is not supported. Everything else about the way Spaces is setup suggests S3 compatibility, meaning that this should work out of the box. I just got really burned by this.

Any news on this one? Seems like a basic feature to replace AWS S3. I typically host sites on S3 then use lambdas for apis for data.

To have such feature would be great!

Hi there! Any news about this very basic feature? It’s been 2 years now and I’m amazed that a dynamic and innovative company like DO could not deliver it sooner… :-/

Hello there DO from 2020, kinda started using spaces hoping this will be done before we are about to release…… we are way far from releasing our product but should we… look forward to this?.... :pray:

Absent of this feature stop us to move from AWS S3. This don’t looks like hard thing to implement. Two years have passed and still no default index page… :(

Submit an Answer