Settings

Theme

Ask HN: Best host for a one-page website?

38 points by nahcub 11 years ago · 47 comments · 1 min read


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.

ninjakeyboard 11 years ago

I'll echo: - Github Pages

Also you can look at: - 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.

  • tvmalsv 11 years ago

    I can second neocities.org. I only have one site hosted there but it's fast, free, easy, and supports having your own domain name.

  • IshKebab 11 years ago

    I'm pretty sure Google Sites shut down many years ago (to new accounts).

    • ninjakeyboard 11 years ago

      it'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 11 years ago

        It'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.

sinak 11 years ago

Github 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/

  • capsule_toy 11 years ago

    I'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.

27182818284 11 years ago

You can do something with your own custom domain and dirt cheap rates with 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 11 years ago

    Seconded. Love NFS - happily coped with HN spikes as well, and cheap as chips, especially for static content.

    • mjklin 11 years ago

      I 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 11 years ago

        I'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 11 years ago

          Yeah, 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 11 years ago

        Along 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.

elliottburris 11 years ago

I'm voting Amazon S3. Super cheap, scalable, and easy to set up & maintain

phliver 11 years ago

I 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

  • threatofrain 11 years ago

    I'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.

savanaly 11 years ago

I believe Github Pages is right for you. It is free.

https://pages.github.com/

VoxPelli 11 years ago

My impression:

Free hosting: https://pages.github.com/ – currently using for a couple of sites and it works very

Paid hosting: 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 11 years ago

    Github pages supports SSL on custom domains through Cloudflare with full SSL.

unicornporn 11 years ago

Tumblr 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.

  • ams6110 11 years ago

    Tumblr is blocked in a lot of places (schools, workplaces) because of all the porn they host. So you'd likely have to have your own domain.

  • arkitaip 11 years ago

    Seconding Tumblr. Very fast and easy to get started with.

daigoba66 11 years ago

Amazon S3 will cost you only pennies a month.

  • todd3834 11 years ago

    This is the best option in my opinion. You can even take advantage of their CDN if you prefer. Still pennies.

saukrates 11 years ago

https://www.netlify.com/

1. Sign Up 2. Drag & Drop 3. Done

krat0sprakhar 11 years ago

Checkout http://surge.sh. Free, production grade CDN, easy-peasy CLI integration, one command deploys.

fallenhitokiri 11 years ago

As 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.

NeatoJn 11 years ago

You 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.

fweespeech 11 years ago

Honestly a push CDN zone like Cloudfront or https://www.keycdn.com/pricing is what I'd suggest. Its not free but its pretty close. $1/month unless its super busy.

bartosaurus 11 years ago

Github pages are awesome, but I also encourage you to check out https://surge.sh/

jonnyrockit 11 years ago

Github pages works really well.

An example of a site running on it: http://arthur-osx.com/

techload 11 years ago

http://www.nosupportlinuxhosting.com $1/month

cpursley 11 years ago

I'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.

volent 11 years ago

Github pages : https://pages.github.com/

nkh 11 years ago

My vote is for http://www.squarespace.com

kentt 11 years ago

Openshift has free tier. It works similar to Heroku. The downside is that it is likely overkill for a one page site.

epeus 11 years ago

Blogger and appengine both have ways to do this, depending on whether you prefer a gui or a command line.

thekaleb 11 years ago

https://divshot.com seems reasonable

pki 11 years ago

free: github pages

cheap: static s3 index.html

daakus 11 years ago

GitHub pages + Cloudflare.

mandeepj 11 years ago

Google app engine. It is much cheaper than Amazon s3

nilmonibasak 11 years ago

Github pages or amazon S3

AquiGorka 11 years ago

surge.sh It couldn't be easier (plus free for now).

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection