Ask HN:
"Where to host a static website (with SSL)"
1) Content must be transmitted via https end-to-end.
2) Content must be served from custom domain
3) Support for directory indexes (show contents of index.html when an URL with trailing slash is accessed)
I thought this would be easy, but all services I've found seem to have some kind of drawback.
Amazon S3 + Cloudfront: If I use Cloudfront with S3 buckets directly, there is no support for directory indexes. If I use Cloudfront with S3 website endpoints, the content is transferred only via http between S3 and cloudfront edge servers.
Rackspace cloudfiles: If I understand their docs correctly, they don't support custom domains with SSL
DreamObjects + DreamSpeed: Apparently doesn't support apex domains, and also doesn't support custom domains with SSL
Anybody know any other options?
Does this mean I need to continue to run my own VM just to serve a static website over SSL?
(Replying to PARENT post)
I am unsure about end-to-end encryption for transfer to the edge nodes or encryption at rest. Maybe someone with a better understanding of Cloudfront and IAM can help out.
(Replying to PARENT post)
1. Use a static site generator to build the site, ensuring I have indexes available, piggyback s3's SSL as a custom endpoint through to cloudfront and use SNI for my custom domain.
2. Use Heroku (or similar provider to remove most of the maintenance burden), piggyback their SSL to cloudfront+SNI+csutom domain.
(Replying to PARENT post)
I host a lot of static websites like this.
(Replying to PARENT post)
Example links:
CloudFront: https://rockymadden.com
GitHub pages: https://rockymadden.github.io
Compilation repo: https://github.com/rockymadden/rockymadden.github.io
Source repo: https://github.com/rockymadden/rockymadden-web