Live data from Hacker News

Ask HN: Affordable and reliable hosting for static pages

news.ycombinator.com

21–30 of 30 posts

Re: Ask HN: Affordable and reliable hosting for static pages

#24
post #5

s3 / cloudfront

Are there any tools that you recommend that make it super easy to get a static site up and running on S3 and Cloudfront?

On Mac OS X I use an app called S3 Browser, and the ElasticFox Firefox plugin.

I dunno if they're "the best", but they're certainly workable.

Re: Ask HN: Affordable and reliable hosting for static pages

#25
post #3

s3 / cloudfront

This is what I'd suggest too, with the proviso that the most likely "single point of failure" moves from being some technical decision you make to being the credit card it's paid for with. At ~3c or 7c/month it becomes easy to forget you need to update the expiry date every 3 years...

If the account number has not changed, the card will continue to work after the expiration date. All that most payment gateways and credit card companies require is that when you attempt to charge it, you give an expiration date that is in the future. I've seen some recommend that if the card on file is expired, just add 3 years to the expiration date and try it.

Also, VISA and MC both provide an updater service, that some payment gateways make available to some merchants. The updater service allows a merchant to ask for an update on the status of a credit card. Possible responses are: no update available; account is closed; here is the new expiration date for the card; card was replaced and here is the new number and expiration date. The service is pretty cheap. One of the card companies charges something like $150 to sign up, the other charges nothing. Queries are free if there is no updated information available, and something like $0.10 if updated information is returned. They do require that you query for all your stored cards at least once a year.

This doesn't work for all cards. Although the service is provided by VISA and MC, it is up to the individual bank or other organization that actually issued the card to decide if they will support it. When we started using it, it boosted revenue on subscription billing by maybe 2-3%.

I don't think the updater service is available to everyone. I believe they do some looking over your history to try to ensure that you aren't the kind of business that would be misusing the service. I'm sure Amazon would qualify.

Re: Ask HN: Affordable and reliable hosting for static pages

#27
post #4

You can host a Sinatra app on Heroku for free. Here's the complete app: require 'rubygems' require 'sinatra' get '/' do File.read(File.join('public', 'index.html')) end Just put all of the files in /public and you're good to go.

If you're just going to host static files, just host them directly through Rack as described here: http://mwhuss.com/2009/12/13/static-sites-on-heroku-in-two-l...

Also, make sure you are using http caching - that way Heroku will use Varnish to cache them.

Re: Ask HN: Affordable and reliable hosting for static pages

#29
post #9

dropbox?

^ This. Use dropbox. You get 2Gig for free. It is available from the web and you get total control from anywhere. You can even get a $5 domain to point at your dropbox web location.

Note that some corporate firewalls block dropbox for security reasons. This means your site is blocked too... Caught me out once!

Re: Ask HN: Affordable and reliable hosting for static pages

#30
post #14
post #8

https://www.nearlyfreespeech.net/ Excellent Pay as you go hosting with specific plans for static only content.

I second that. With no traffic, 10$ lasted me 4 years. They have decreasing cost per GB of bandwidth too.

NFSN is very good for me too.
Post reply on HN