Is it possible to serve SPA on buckets?
Linode
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
rpalko
Linode Staff
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.