TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Free static page hosting on Google App Engine in minutes

95 pointsby fizerkhanover 11 years ago

21 comments

rzaover 11 years ago
I host my personal website GAE. One thing to be aware of is when moving to a personal domain, you need to map to a subdomain so you can&#x27;t use a naked domain[1] (e.g. &#x27;<a href="http://github.com&#x27;" rel="nofollow">http:&#x2F;&#x2F;github.com&#x27;</a>). You have to map to something like &#x27;www.&#x27;<p>[1] <a href="https://developers.google.com/appengine/kb/general#naked_domain" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;appengine&#x2F;kb&#x2F;general#naked_dom...</a>
评论 #7254555 未加载
评论 #7255166 未加载
bobfunkover 11 years ago
Did a quick comparison with my own service, BitBalloon.<p>On appengine you&#x27;re just deploying a dynamic app that just routes everything to a static folder, but since Google doesn&#x27;t know this is a static site, it&#x27;s pretty limited what they can do to set good cache headers and optimize stuff for performance. So even if they have an awesome infrastructure, BitBalloon will make your site perform better.<p>Here&#x27;s the quick test result from the same site uploaded to AppEngine and BitBalloon:<p><a href="http://tools.pingdom.com/fpt/#!/vLi9d/http://teststaticsite.appspot.com/" rel="nofollow">http:&#x2F;&#x2F;tools.pingdom.com&#x2F;fpt&#x2F;#!&#x2F;vLi9d&#x2F;http:&#x2F;&#x2F;teststaticsite....</a> <a href="http://tools.pingdom.com/fpt/#!/dwqwvX/http://speedtest.bitballoon.com" rel="nofollow">http:&#x2F;&#x2F;tools.pingdom.com&#x2F;fpt&#x2F;#!&#x2F;dwqwvX&#x2F;http:&#x2F;&#x2F;speedtest.bitb...</a>
评论 #7253077 未加载
评论 #7254418 未加载
评论 #7253449 未加载
评论 #7253397 未加载
评论 #7254050 未加载
praseodymover 11 years ago
GitHub Pages is even easier to set up, and does support naked domains (although to use their CDN it is limited to DNS providers that support ALIAS records) -- <a href="https://github.com/blog/1715-faster-more-awesome-github-pages" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blog&#x2F;1715-faster-more-awesome-github-page...</a>
评论 #7253964 未加载
ethikalover 11 years ago
&quot;Moreover it is faster than other static hosting services. Because it runs on Google infrastructure.&quot;<p>Um, wow.
评论 #7253254 未加载
mehulkarover 11 years ago
Is there a way to redirect all[1] requests to index.html? The use case is an Ember app that uses history location and is deployed as a static website. In this case, requests to `&#x2F;whatever` still need to serve index.html and let Ember handle the routing. Can GAE app.yaml specify rules like this?<p>I ran into this problem with S3 and ended up writing a simple server to handle it and deploying to Heroku.<p>[1] By all, I mean all except the ones to &#x2F;assets or something similar.
评论 #7254320 未加载
评论 #7254343 未加载
tapsboyover 11 years ago
How is it better than just using Dropbox or S3 or even Google Drive to host static content?
drakaalover 11 years ago
If you want mostly free hosting I built this a long time ago. <a href="http://www.cdninabox.com/" rel="nofollow">http:&#x2F;&#x2F;www.cdninabox.com&#x2F;</a> it mirrors any site with caching using Google Edge cache.<p>Because it will handle URL Re-Writes you can host on any host in a subdirectory and still have it be your root for the customer.<p>I mostly abandoned this when Google Launched &quot;PageSpeed&quot; for appengine which was too much a direct competitor. Also when they moved to AppsForDomains you could no longer have a naked domain, and that was annoying. I don&#x27;t like www. having to be on the front of my URL.
mountaineerover 11 years ago
From years back, there was a tool created called DryDrop[1] that allows you to publish static GAE sites via GitHub push.<p>[1] <a href="http://drydrop.binaryage.com/" rel="nofollow">http:&#x2F;&#x2F;drydrop.binaryage.com&#x2F;</a>
评论 #7255640 未加载
fuzzythinkerover 11 years ago
Somewhat related, I&#x27;ve recently found and evaluated nodejs static site generators (including ghost which I find vastly overhyped and still too stuck in wordpress way of doing things). And the relatively unknown wintersmith [1] is just so awesome that it really needs some mention. It&#x27;s easy to get started, relatively well documented compared to others, and you have full control to extend it should you need to.<p>[1] <a href="http://wintersmith.io" rel="nofollow">http:&#x2F;&#x2F;wintersmith.io</a>
bhartzerover 11 years ago
Putting up a landing page for a &#x27;parked&#x27; domain name would be a great use of this. Rather than letting your registrar put up a page where they make money off of the clicks.
aritraghosh007over 11 years ago
I have my personal site hosted on Google App Engine too. Must say its sleek and simple. I had evaluated a lot of other (typical) options like EC2, Dropbox(S3) and even Github pages. Nothing came close to the ease and the performance that GAE gives. Benchmarking about 10 URLs on my site, returned an a.r.t of 3.5ms aggregate on GAE vs 5.6 ms on EC2.
contacternstover 11 years ago
&quot;All the services has its advantages and disadvantages over other.&quot;<p>What&#x27;s wrong with this sentence?
评论 #7252982 未加载
评论 #7252895 未加载
评论 #7254364 未加载
rikkusover 11 years ago
Seems you can set up custom DNS for your site too, with wildcards even. Pretty nifty.
herokusakiover 11 years ago
Any limitations on traffic?
评论 #7252901 未加载
Kiroover 11 years ago
Seems nice! How do you set up a custom domain name for it?
评论 #7255641 未加载
WhitneyLandover 11 years ago
What service allows full SSL use without paying big bucks?
评论 #7254228 未加载
donniezazenover 11 years ago
Can you use one of the static site generators and git to publish your posts?
评论 #7256367 未加载
donniezazenover 11 years ago
Since it&#x27;s Google, I am sure one is allowed to use Adsense.
tuananhover 11 years ago
What are the advantages of using GAE over Github Pages?
babyturtleover 11 years ago
To have your own domain running on GAE is not free anymore... and it is a ridiculous process to set it up.
notastartupover 11 years ago
I&#x27;m glad I stumbled onto the second page of hacker news, this is an absolute gem!