6 ms·
Free static websites with SSL for hackers
- fenollp 9y agoI use Netlify which has the same qualities and requires less setup/attention. Am not affiliated with them.
- 18nleung 9y agoSeconded - all you have to do is specify a build command and an output directory and Netlify will build your site on every commit to master. You can easily add a custom domain, manage DNS, and get Let’s Encrypt SSL with the click of a button. Not affiliated either, but I’ve been blown away by how seamless their service has been.
- rolodato 9y agoI was not aware of Netlify, thanks for letting me know. I've added it to the list of alternatives.
- Hasz 9y agoA second vote for Netlify, it's incredibly easy to use. I'm not monitoring uptime, but have had zero issues so far. I use it with Hugo, a static site generator. I believe Netlify has an easy SSL setup option, but it has been a while since I set it up. Before, I used NearlyFreeSpeech, which was very low cost but not nearly as streamlined.
- tacticus 9y agonetlify's ssl is one button plus a dns entry. it's pretty shiny
- 7ewis 9y agoYou can use Full SSL on CloudFlare with GitHub Pages, which is end to end. https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/ https://blog.cloudflare.com/secure-and-fast-github-pages-wit...
- rolodato 9y agoIt is end to end but CloudFlare does not verify the identity of the origin server. The only equivalent option would be "Full SSL (Strict)", which is not free.
- tonyztan 9y agoI believe Strict SSL is free on Cloudflare's side, but GitHub Pages does not work with it because it does not present a matching and valid certificate. https://support.cloudflare.com/hc/en-us/articles/200170416-What-do-the-SSL-options-mean- https://support.cloudflare.com/hc/en-us/articles/200170416-W...
- rolodato 9y agoI stand corrected :)
- jgrahamc 9y agoThat is simply untrue. Full SSL (Strict) is available on all plan levels including free. There is no charge for it. In addition, if you don't have an SSL certificate on your origin we'll give you a cert for free as well: https://blog.cloudflare.com/cloudflare-ca-encryption-origin/ https://blog.cloudflare.com/cloudflare-ca-encryption-origin/
- tonyztan 9y agoEnd-to-end secure, but only against passive attacks. Cloudflare "Full SSL" (as opposed to "Strict SSL") does not verify the certificate presented by the origin server, so someone sitting between Cloudflare and your origin can still MITM the connection without detection. Strict SSL does not currently work with GitHub Pages, because "*.github.io" certs do not match custom domains. https://www.cloudflare.com/ssl/ https://www.cloudflare.com/ssl/ https://github.com/isaacs/github/issues/156#issuecomment-110490178 https://github.com/isaacs/github/issues/156#issuecomment-110...
- transmit101 9y agoAs it happens, I've got a couple of merge requests open to add HTTPS-only support to GitLab Pages. If anybody is interested: Rails: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16273 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16273 Go: https://gitlab.com/gitlab-org/gitlab-pages/merge_requests/50 https://gitlab.com/gitlab-org/gitlab-pages/merge_requests/50
- eugenekolo2 9y agoI've done similar setups. I highly recommend just using Cloudflare or Netlify instead. Unless you have an actual business reason, or love owning everything in the stack. The headache of managing this yourself adds up, things break, things update, etc.
- andrewaylett 9y agoAnother option, similar to some of the top-level comments suggesting Cloudflare with GitHub pages, is to use Cloudflare's long-lived internal origin certificate on GitLab and Cloudflare's public externally-valid certificate for end-users. Although I have to admit to not actually having set that up yet: it's on my to-do list for a personal site that's in-progress this week.
- superasn 9y agoFor static sites hosting on AWS S3 is super cheap, plus with Cloudfront CDN in front you can be sure your site is being delivered to the user by a server near him. It's not 100% free but still very cheap for static websites[1] [1] https://medium.com/@sbuckpesch/setup-aws-s3-static-website-hosting-using-ssl-acm-34d41d32e394 https://medium.com/@sbuckpesch/setup-aws-s3-static-website-h...
- jlgaddis 9y agoAt some point, I'm going to convert my web site (a neglected blog) to a static site. When I do, I'll likely go the S3 + Cloudfront route and retire the aging physical server it's running on. I've looked into this a couple of times in the past and that's the method I kept coming up with. I really want to do it but I've had trouble motivating myself to redo the hundreds of blog posts currently in WordPress.
- knight17 9y agoYou can try using an exporter to see how much more work you'll have to do to make the new static version work to your liking. https://gohugo.io/tools/migrations/#wordpress https://gohugo.io/tools/migrations/#wordpress https://import.jekyllrb.com/docs/wordpress/ https://import.jekyllrb.com/docs/wordpress/
- m3adow 9y agoThere are plugins for Wordpress which export sites as static sites. I personally used SimplyStatic [1] with success for a rather simple blog, but it seems development has ceased. While writing this comment I also found WP Static [2], perhaps one of those two works for you. [1]: https://wordpress.org/plugins/simply-static/ https://wordpress.org/plugins/simply-static/ [2]: https://wordpress.org/plugins/static-html-output-plugin/ https://wordpress.org/plugins/static-html-output-plugin/
- q3k 9y agoPlease don't teach people how to centralize the web around a service that isn't even supposed to be used for personal web pages [1]. [1] - "We offer Pages sites primarily as a showcase for personal and organizational projects." https://help.github.com/articles/github-corporate-terms-of-service/ https://help.github.com/articles/github-corporate-terms-of-s...
- ReverseCold 9y agoHe is explaining how to do this with GitLab Pages, not GitHub Pages (the ToS you linked to). Other than that, yes, GitLab pages exists for the same reason.
- unethical_ban 9y agoFurthermore, one can host Gitlab on their own. There is nothing wrong morally or otherwise with using a document revision service and build platform to push static sites.
- yeukhon 9y agoYou quoted it: "primarily", which means GitHub (in this case) does not prohibit users from using Page in the way you seem to disagree with. What you choose to do with Page, a blog, or a personal static website, is at the mercy and the discretion of the service provider. You just can't advertise products using Page. You can call your project "my 365 days of kernel hacking series", put the code on Github, and then host a blog on GitHub with a mix of hacking blog posts and other non-hacking blog posts. That's acceptable.
- r3bl 9y agoIf that was the case, there wouldn't be homepages (USER.github.io). Projects reside on USER.github.io/PROJECT, so they assume you will create a homepage as well. If you're a user, that's your personal homepage. Anyway, this is about GitLab.
- matthberg 9y agoWhat I did was a more customized version of that, I made a .gitlab-ci.yml file which easily lets you run any scripts of your own to build, with the same end result. Using gulp I had it run in development mode by default with watchers and verbose outputs, yet in the ci file I called a production build that polished everything up. For the front end side, I used pug, sass and babel with a few other js things to make a templating system, which really helped me understand site structures.
- up-n-atom 9y agoI suppose https://neocities.org/ https://neocities.org/ could qualify for the author's ideal alternative.
- neya 9y agoAs another commenter has mentioned, Netlify is fantastic. It takes care of everything and migration is painless. And the best of all, it's free~ This year, one of my goals is to migrate all my Wordpress blogs to Jekyll and host them on Netlify. I'm almost done with 2/3rds of them and couldn't be happier. Highly recommended.
- JustinAiken 9y agoIf you do use jekyll and gitlab, I made this jekyll plugin that does it for you (if you'd rather have something in-ecosystem than an npm package) -> https://github.com/JustinAiken/jekyll-gitlab-letsencrypt https://github.com/JustinAiken/jekyll-gitlab-letsencrypt
- paule89 9y agoIf i read free i mean free as in everything, but it seems you already need to have your own custom domain name. Meaning your own domain. Or did i miss something?
- lerax 9y agoYes, you need it. This topic is just to have SSL and free static host where GitHub just have a painful setup for that (also if you want custom domain here you need pay for it, obviously) https://github.com/isaacs/github/issues/156 https://github.com/isaacs/github/issues/156