News for hackers. Stuff that matters.
Re:Ask HN: Guidelines/steps to setup a secure Linux server f... by guiambros on Tuesday July 29, 2014 @06:50PM (#8105448)
Do yourself a favor and do NOT host a static website on a full Linux server. It's more expensive, worse performance, more work to maintain, and a lot less safe than the alternative.

The best approach for a pure static website is to host entirely using a CDN. It's cheap, scalable, and zero maintenance. You don't even need a full CDN; just an object data storage (like Amazon S3) is enough.

There are many tutorials online. Just Google "hosting static website on S3". You may optionally use CloudFront on top of S3, if latency/performance (particularly for international visitors) is important to you.

There are no comments on this comment yet.