Question

How to configure a static website from a DO space

I wanted to see if it anyone has hosted a static website from a DO space using a custom domain. For comparison, I’d like to see how we can achieve this similarly to how you might do this with an S3 bucket: https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html

Any ideas? Thanks!

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted Answer

Hey @hakawati,

I believe that this is not yet possible out of the box. You could use a small Droplet with Ngnix and upload your static website there.

But this is a great idea, sounds like it’d be super useful!

It looks like someone has had the same idea before and has posted it on our Product Ideas board. The best thing to do would be to head over and add your vote to it, as well as adding any additional information in the comments for exactly what you’d like to see implemented!

https://ideas.digitalocean.com/ideas/DO-I-318

Hope that helps! - Bobby.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Why not host your static site on DO app?