Ask HN: What free or low-cost static site hosting do you use most?
209 points| shovel | 9 years ago
Essentials: static hosting, custom domains, html, css, js Nice to have: php, FTP, markdown support
Am I missing out on AWS, Github, Digital Ocean, Heroku?
What are the pros and cons?
Some comments were deferred for faster rendering.
K0nserv|9 years ago
Becuase people usually ask why S3 over Github pages I'll answer it up front. Github pages is too limited in terms of what you can do with custom jekyll plugins and code.
0: https://hugotunius.se/2016/01/10/the-one-cent-blog.html
vanderZwan|9 years ago
https://neocities.org/
ZERO ADVERTISEMENTS, even for the free plan. Supports only static hosting, is free for 100mb websites with bandwidth of 50GB per month, or five dollars per month for 10,000mb with 2TB and a number of other extra features.
EDIT: As mentioned by detaro, custom domain only supported in the paid plan, see https://neocities.org/supporter
Works really well with creative coding frameworks like p5js or Twine, for fun, fast little sketches you just want to thrown online and share with others:
http://p5js.org/
http://twinery.org/
Also, they really care about resurrecting the ideals of the old internet:
https://blog.neocities.org/its-time-for-the-permanent-web.ht...
https://blog.neocities.org/default-ssl.html
newscracker|9 years ago
Advantages:
1. Excluding domain costs, which are reasonable (and even cheaper than many others), you can have small static sites for pennies a month, or even pennies a year if you put the free tier of CloudFlare in front of it (with DNS changes). It's really dirt cheap!
2. It's the most honest service I've seen, where you pay close to what you actually use.
3. The owner/admin is a no-nonsense person and is available on the forums to help with things that don't need extensive support involvement.
Disadvantages:
1. You need to be tech savvy (at least know how to use an FTP client to upload your static files and use the BSD shell if you wish to play around with application setup or other things over ssh). NFSN does not have any fancy control panels (like cPanel) where you can do one click installs of WordPress or other applications.
2. For PHP and MySQL based applications, setup is not difficult at all. But if you want any other application server (like Node or Rails or Django), you would have to do more work to get it set up.
3. If you truly need support, then there's a paid support subscription (it's optional). For most requirements the forums would suffice.
4. If your site grows a lot (in terms of disk space used, network traffic used and resources used), then NFSN could become very expensive compared to the commonly oversold $5 a month or $10 a month services that promise a lot but depend on most users not reaching their promised limits.
[1]: https://www.nearlyfreespeech.net/
[2]: https://www.nearlyfreespeech.net/about/faq
nodejs-news|9 years ago
checkout webpagetest -> https://www.webpagetest.org/result/161123_0R_8RDY/
and feel free to check my 3 web sites:
- http://www.it-wars.com - http://www.louer-hendaye.com - http://www.nodejs-news.com
Init : 2 RaspberryPi + electric plugs : 2x 30$ + 2 x6$ Monthly bill: electricity : about nothing DSL : 30$
Enjoy!
throwaway2016a|9 years ago
If you want to get fancy you can even attach it to your domain root (example.com vs www.example.com) using Route53. Which is impossible with many static hosts. Although that requires a hosted Route53 zone which at $2 might very well be 100x your hosting costs.
I use Jenkins to generate the website itself.
Edit: Only downside is if your traffic spikes you have no control over the cost. There is no upper bounds. With that said, it would take a tremendous amount of traffic to balloon the costs to anything worth worrying about. And at least you can be sure your website will actually stay up.
kyledrake|9 years ago
We include 10GB storage 2TB BW for free (more of both included soon) for $5/mo, which would cost over $180/mo at AWS with S3. Cloud providers really upcharge on bandwidth big time. Really that 2TB is just a soft cap just to make sure nobody tries to run the New York Times from a $5 hosting plan. Many people go over it and it's not a problem.
The one thing we don't do well is show how good we are for pro hosting as well as people learning HTML and having fun. I need to work on that.
seanwilson|9 years ago
Deploying over S3 sounds like a bunch of hassle to me. Can you deploy atomically? Can you rollback?
gtsteve|9 years ago
The cost is almost nothing but we don't have a high traffic website. If you started getting billions of hits from expensive Cloudfront regions such as Australia or India, you might consider something else.
thunfisch|9 years ago
Shell Access, pretty much every common language available, service running, databases, mail, etc..
No bullshit hosting in germany, Pay what you want (1€/month minimum).
Absolute best, I'm hosting about 25 projects with them for various bands, etc. and haven't had any problems whatsoever.
hashtagMERKY|9 years ago
(I have no affiliation with Netlify I just think their service is neat.)
[0] https://surge.sh/
[1] https://www.netlify.com/
[2] https://gilly.tk
edit: formatting
reimertz|9 years ago
why: free, cdn, version-controlled, continuous integration, https, custom domains.
oliver2213|9 years ago
[0] https://getnikola.com
theandrewbailey|9 years ago
I have Payara (java app server) running my blog down there, and HTTPS courtesy of Let's Encrypt. I looked into running a Open Street Maps server, but it was fairly hard (I might have been close to getting it running), and professional reasons for maybe playing around with it changed.
user5994461|9 years ago
Fully operational, all the important stuff (text editors, analytics, pictures hosting...), nice themes, well indexed by google, zero maintenance, free, and unlimited traffic.
I run blogs so obviously it is particularly appropriate. But that works as well for small static sites with a couple pages.
tiernano|9 years ago
fao_|9 years ago
I added about 5 gbp two years ago and it's down to about 4 gbp. It's cheap as hell and I only have to dump 5 pounds on there every few years or so.
CyberFonic|9 years ago
I like that I can check my changes on my notebook before uploading to the cloud.
eximius|9 years ago
d0lph|9 years ago
Perfect for static pages, but a little bit of PHP might be fine.
antihero|9 years ago
tyingq|9 years ago
- Not restricted to jekyll, use any static generator
- Supports https on custom domains
Animats|9 years ago
Unfortunately, Dreamweaver 8's static SFTP doesn't work any more, due to some Microsoft-forced change in Windows 7.
jdmoreira|9 years ago
iUsedToCode|9 years ago
SSH access, shared hosting (so pretty powerful CPU/ram there). Currently i have about 700 daily unique visitors and growing. Used to deploy custom sites, now i use mostly wordpress. Also, i use it for my git remote repos.
Great service. Been using if for years, awesome quality for the money.
Lately had some issues but the support is helpful and they fixed whatever i wanted, enabling SSI, fixing response headers, etc. Never had to wait for a reply longer than 6 hours (usually it's just minutes, really). As a bonus, admin staff is available through odlschool IM app - Gadu-Gadu. And PHP 7 is available and easy to switch to.
The site's in polish, which sucks for you guys, but it's by far the cheapest and best solution i have for low cost hosting. I'm a happy customer.
teekert|9 years ago
Both my servers (DO vps and basement) run Ubuntu 16.04, I use PHP-fpm for PHP, domains I purchase at a local registrar (.nl domains are about 10€/year), for ssl I use lets encrypt. For simple sites I always use Bootstrap for the css.
FTP is implicit if you count SFTP as FTP (FTP over SSH). Under Linux SFTP is mounted as easily as any network share.
At home I run a Nextcloud instance and share some directories as Nginx roots, that means I can locally (even on my phone) edit a static web page and it is synced immediately to the webserver's root folder. This can be quite convenient.
planetjones|9 years ago
I manage all my sites there. Never had any issues with them, there is SSH access too so I recently set up a Hugo bitbucket pipeline which builds my personal website and rysncs it to dreamhost.
They were very fast to add lets encrypt support, so all that stuff is taken care automagically. Reliability is very good.
rntz|9 years ago
cklar|9 years ago
lazyjones|9 years ago
oDot|9 years ago
Not sure how price compares to the competition, though. HN's + /r/Android's front pages resulted in about 13K uniques and it ended up costing me ~$10 (which is insanely cheap, but GitHub + Cloudfront is free...)
Edit: I should mention that the site isn't as light it can be, currently stands at 473kb of code and about 3 megs of images. So that $10 is for ~45 gigs of traffic.
jordanlev|9 years ago
duggan|9 years ago
No how-to, but it's all open source here https://github.com/barricadeio/docs
Most awkward part was figuring out the voodoo required to get Hugo and Middleman working (lots of trial and error).
Rabidgremlin|9 years ago