Hacker News new | past | comments | ask | show | jobs | submit login

I don't believe you can use HTTPS with a custom domain (a domain that doesn't end in github.io or amazonaws.com), with GitHub pages or S3.

Two free choices I'm aware of, for hosting at a URL that both future-proofs your choice of hosting provider and provides end-to-end encryption to site visitors, are the free CloudFlare plan in front of GitHub or S3 (or any other static hosting service), and the free hosting plan on Netlify.

If you want to go the free route, you can use CloudFlare: https://blog.cloudflare.com/secure-and-fast-github-pages-wit... -- you have to use CF for your DNS, but it is also free for basic use

You can, we use S3 at my company to host a site used by pathologists to sign out reports. How we did that... I'd have to ask my coworker, but we have https and a custom domain.

Aws cert manager (acm) now does this for any domain you can verify

It looks[1] like you can use Cert Manager with CloudFront[2], but not directly with S3.

CloudFront is very cheap[3], but it is not free. (For that matter, S3 itself is cheap but not free.) It's therefore a solution to “I'm employed in a developed nation and don't want to notice that I'm paying for hosting”, but not to “I have literally no money to spare for hosting because a year is less than coffee” or “I want my content to stay up without my having to remember to keep a valid credit card on file somewhere”.

[1] https://docs.aws.amazon.com/acm/latest/userguide/acm-service...

[2] CloudFront ≠ CloudFlare. Nobody in this thread has been confused about this, but it tends to trip people up.

[3] I ran tech ops for a company whose site was, on launch day, around the 55th-most-popular site on the internet. I think our CloudFront bill was $300 for that day.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact