Question

Spaces: set index.html as default landing page

Posted November 20, 2017 8.6k views
DigitalOceanUbuntu 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?

7 comments

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.

×
Submit an Answer
24 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.

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.

  • Yup, it is the last thing that’s required to complete the static hosting story alright.

Hi everyone,

As a customer of DO I must say that this situation here is very disappointing - we were told by DO staff some year before that this simple feature would be implemented in 2018. We have 2020 and nothing - how can we perceive DO team answers? Hello guys, wake up! We wanted to move to DO from AWS a huge could service hat has hundreds of thousands of daily clients - but there are several missing functionalities (some of them can be worked around) but his simple feature has been promised long ago and not delivered. @pchakravarthi how about your credibility? Your last post is a year old. Could we kindly ask for a responsible answer and deadline?

Can not host my site on DO looking for other solutions …
Mabe on 2030 DO will implement this feature?

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

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.

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… :(

Is this still not available and no way around it? no trick config or anything?

Previous 1 2 3 Next