5 ms·
Ask HN: Best host for a one-page website?
I have a single HTML page that I want to put online. What's the best way to do so? I would like to keep it as cheap as possible.
- sinak 11y agoGithub pages is a great way to go, you basically push to a branch called "gh-pages" and a file in the root called CNAME with the domain and you're done. https://pages.github.com/ https://pages.github.com/
- capsule_toy 11y agoI'm piggybacking off your comment, but has no one else had issues with github pages and custom domain names? I put up a static site on github pages and checked in a couple months later (it was a personal site that wasn't terribly important) only to find that it was down. No changes in the source or configuration. I moved the page pretty much immediately because I couldn't be bothered to figure out what happened.
- volent 11y agoGithub pages : https://pages.github.com/ https://pages.github.com/
- savanaly 11y agoI believe Github Pages is right for you. It is free. https://pages.github.com/ https://pages.github.com/
- phliver 11y agoI haven't used this service in a VERY long time, but you can give NearlyFreeSpeech.NET a shot. They offer free hosting. https://www.nearlyfreespeech.net https://www.nearlyfreespeech.net
- threatofrain 11y agoI'm not sure they offer free hosting, at least not anywhere obvious on their website. But they do offer a "pay what you use" model.
- pki 11y agofree: github pages cheap: static s3 index.html
- ninjakeyboard 11y agoI'll echo: - Github Pages Also you can look at: - https://neocities.org/ https://neocities.org/ is ad free and free Then if you're willing to compromise a bit, these are easy and free: - Wordpress if you want to post an article. It'll put spam on your page though. - Google sites is a good wiki style solution for posting a few things up with a wysiwyg editor. - If you don't want it to be an html page, there is also google docs and google drive so you can share an artifact.
- IshKebab 11y agoI'm pretty sure Google Sites shut down many years ago (to new accounts).
- ninjakeyboard 11y agoit's harder to access than I thought but it's still available - it's for google business accounts though, so scratch that. I used it internally so wasn't aware of the conditions.
- Denzel 11y agoIt's not just for google business accounts, they just made it even more difficult to find for personal accounts. I ran into this about a week ago. In GMail, click the tile icon > More > Even more from Google > scroll to Home & Office > Sites. From there you can create Google Sites for personal use.
- tvmalsv 11y agoI can second neocities.org. I only have one site hosted there but it's fast, free, easy, and supports having your own domain name.
- jonnyrockit 11y agoGithub pages works really well. An example of a site running on it: http://arthur-osx.com/ http://arthur-osx.com/
- unicornporn 11y agoTumblr will probably work very well. HTML and CSS is fully customizable. You don't need to form your "theme" in a blogish fashion. Connecting a domain is free.
- cpursley 11y agoI'm a big fan of divshot.io for this sort of thing. Easier to set up than the other suggestions and they've got a free tier.
- techload 11y agohttp://www.nosupportlinuxhosting.com http://www.nosupportlinuxhosting.com $1/month
- daakus 11y agoGitHub pages + Cloudflare.
- elliottburris 11y agoI'm voting Amazon S3. Super cheap, scalable, and easy to set up & maintain
- thekaleb 11y agohttps://divshot.com https://divshot.com seems reasonable
- kentt 11y agoOpenshift has free tier. It works similar to Heroku. The downside is that it is likely overkill for a one page site.
- 27182818284 11y agoYou can do something with your own custom domain and dirt cheap rates with https://www.nearlyfreespeech.net/ https://www.nearlyfreespeech.net/ You can deposit some money and if it doesn't get used, it just stays in the account, rather than an automatic cost per month.
- iamben 11y agoSeconded. Love NFS - happily coped with HN spikes as well, and cheap as chips, especially for static content.
- mjklin 11y agoI tried it a few years ago, and I had to use a specialized ftp program to upload files. Do they have anything web-based now, like Cpanel?
- jberryman 11y agoI've been with them for like a decade, and I don't think you've ever needed a specialized program. Use whatever you'd normally use to copy files over ssh, sftp, or ftp (but don't use ftp).
- iamben 11y agoYeah, this. They just use SFTP, which pretty much any program can do. Or just SSH. But nothing web based - there's a little learning curve, but the forum support is fantastic.
- 27182818284 11y agoAlong with the others, I'm really confused by this. Not only do I just use regular programs, I even use makefiles to deploy on some sites. I've never seen the need of a "specialized" program.
- krat0sprakhar 11y agoCheckout http://surge.sh http://surge.sh. Free, production grade CDN, easy-peasy CLI integration, one command deploys.
- rolandukor 11y agoLooks very interesting. How come its free?
- ahazred8ta 11y agoTLDR they have a Freemium business model http://surge.sh/help/why-is-surge-free http://surge.sh/help/why-is-surge-free
- saukrates 11y agohttps://www.netlify.com/ https://www.netlify.com/ 1. Sign Up 2. Drag & Drop 3. Done
- daigoba66 11y agoAmazon S3 will cost you only pennies a month.
- todd3834 11y agoThis is the best option in my opinion. You can even take advantage of their CDN if you prefer. Still pennies.
- nkh 11y agoMy vote is for http://www.squarespace.com http://www.squarespace.com
- NeatoJn 11y agoYou can use Dropbox for hosting. If you have got a "public" folder, copy the HTML file into it and get a direct link. or you can use some service like pancake (pancake.io, currently i am getting 503 error though, not sure whether it is permanently down), my.droppages(my.droppages.com) etc.
- T3RMINATED 11y agoGet a Dedicated Server at singlehop.com
- epeus 11y agoBlogger and appengine both have ways to do this, depending on whether you prefer a gui or a command line.
- VoxPelli 11y agoMy impression: Free hosting: https://pages.github.com/ https://pages.github.com/ – currently using for a couple of sites and it works very Paid hosting: https://divshot.com/ https://divshot.com/ – thinking of using for some sites – mainly because I can get https on a custom domain there, which I can't at GitHub Pages
- g4k 11y agoGithub pages supports SSL on custom domains through Cloudflare with full SSL.
- deleted 11y ago[deleted]
- nilmonibasak 11y agoGithub pages or amazon S3
- fweespeech 11y agoHonestly a push CDN zone like Cloudfront or https://www.keycdn.com/pricing https://www.keycdn.com/pricing is what I'd suggest. Its not free but its pretty close. $1/month unless its super busy.
- fallenhitokiri 11y agoAs others have mentioned AWS S3 is a good way to put a static page - not just a one-page website but everything that does not require a server side language - online. Additionally and IIRC without significantly increasing your bill you can put AWS CloudFront in front of your S3 bucket and you get a CDN nearly for free.
- bartosaurus 11y agoGithub pages are awesome, but I also encourage you to check out https://surge.sh/ https://surge.sh/
- mandeepj 11y agoGoogle app engine. It is much cheaper than Amazon s3
- AquiGorka 11y agosurge.sh It couldn't be easier (plus free for now).