Report this

What is the reason for this report?

best setup for static sites?

Posted on July 1, 2013

Hi, what would I need to install to setup a static site on Digital Ocean? just with html pages and a css file?



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!

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.

I answered this question here: http://www.bersling.com/2016/04/29/host-static-files-with-apache-on-digitalocean/

Basically just sudo apt-get install apache2 and replace the index.html file at /var/www/html with the html you want to serve. That’s it!

Would you know what else I’d need. Amazon has a detailed tutorial about how to host a static site in an S3 bucket, which is obviously not available on DO. I like Digital Ocean, but without further instructions I might take it Amazon. Maybe this is an article someone could write up and submit to DO. I hear they pay $50 for each published article.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.