Is it possible to serve SPA on buckets?

Linode Staff

We want to find a CDN provider to store react apps, we were looking into linode buckets, but we are not sure if they will work, since the config is simple.

Can we serve a react application using this buckets? (using our own subdomains, and react applications, SPA)

1 Reply

Since an SPA is a pre-generated HTML file with JS in it, you can serve your app similar to the guide on how to Host a Static Site using Linode Object Storage. You can upload your build/ folder using the upload steps listed there, and your SPA should load. You can then add a CNAME entry to your domain’s DNS records that aliases it to your Object Storage bucket’s website URL.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct