Looking for a reliable, easy to use, and free hosting provider for your static web pages or single page app (SPA)? Or are you one of those people who would like to see GitHub Pages support HTTP 200 response for client-side routing instead of spoiling your urls with !#? I urge you to try surge.sh.
Very shortly, surge.sh gives you:
- static site hosting (single-page or the old way, you decide)
- automatic cache-busting
- your-nickname.surge.sh or custom domain
- free SSL/TLS *
- clean URLs
- custom 404 not found and 200 fallback pages
- by far the easiest and fastest deploying straight from the terminal
If you know your way around, just npm install -g surge and surge /path/to/the/site-dir/ and you’ll be setup sooner than ever before.
Surge also has a paid-plan for 13 $ / month which gives you even more features. One of those things is securing your custom domain with an HTTPS connection (SSL/TLS). If you don’t want to pay, you can still use CloudFlare’s Universal SSL for your custom domain. That, of course, doesn’t give you HTTP Strict Transport Security (HSTS) or force-redirects from HTTP to HTTPS, but is better than nothing.
Surge works so nicely that I suggest you to check out their tour and deploy even a sample app if you don’t have anything at your fingertips – for you will be hooked in no-time…
If you have something to add or know of another no-bullshit provider, drop a comment.