By m73mitchell
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!
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!
nginx would be the best webserver for static files: <br> <br>https://www.digitalocean.com/community/articles/how-to-install-nginx-on-ubuntu-12-04-lts-precise-pangolin
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.