DEV Community

Cover image for Where do you host your static sites?

Where do you host your static sites?

Madza on August 30, 2020

So far I've used just Github pages and Netlify, tho I've heard of other alternatives like Firebase, Vercel, Google Cloud Storage, Surge and Render...
Collapse
 
ndom91 profile image
Nico Domino

DigitalOcean recently added Netlify like App hosting - you just point it at a repo and it does the rest. Static Sites are free and other things that need a server process running (node apps, etc.) require a mini droplet type purchase. The one project I tested like this they put me on an "XS" plan that was like $5-6 / month.

Personally I use Netlify / Vercel though for just about everything.

Collapse
 
adriansamuel profile image
Adrian Samuel • Edited

Hey! Could you send me the link for the digital ocean hosting? I didn't know DO had a free service. Really interested to see what they offer

Collapse
 
ndom91 profile image
Nico Domino

Yeah no problem. It's currently in beta, but it's seems pretty nice already.

digitalocean.com/docs/app-platform/

Collapse
 
hunsalz profile image
Markus Hunsalz

Have a look at ionos.com/hosting/deploy-now and subscribe for free. You can find more details here: docs.ionos.space/

Collapse
 
madza profile image
Madza

Thanks for sharing! 🙏❤

Collapse
 
garretharp profile image
Garret

Personal: Vercel because it has an extremely generous free tier that I would never need more than.

Business: AWS S3 because AWS is my cloud provider of choice and you should always stick to knowing one cloud provider IMO.

Collapse
 
madza profile image
Madza

Feature lists on free tier plans are def one of my main concerns, will take a look at Vercel for sure 👍

Collapse
 
shaijut profile image
Shaiju T • Edited

Is there any free host for Business static website, Just curious ?

Thread Thread
 
garretharp profile image
Garret

No. You can probably get some like startup discounts but most companies choose to profit from businesses and lose money from individuals because the businesses will spend a lot more than any individual will which will make up for the loss and some. Also getting more people to use a service and have experience means more businesses will use those tools which just means more profits for them.

Collapse
 
adriangrigore profile image
Adrian Emil Grigore

I host my personal site adi.tilde.institute on tilde.institute/. This is a great free service that gives full ssh access to an OpenBSD machine. My bloat-free, nojs static site generator mkws(1) is hosted on openbsd.amsterdam/. For a VPS solution I would also recommend tinykvm.com/. I don't use it, but I think Netlify is cool.

Collapse
 
madza profile image
Madza

Never heard of tilde.institute before. 😉
Thanks for the recommendation, def will check it out! 👍

Collapse
 
sowenjub profile image
Arnaud Joubay • Edited

GitHub Pages, I wrote about it but to put it short I use Publish and GitHub publishing is baked in.

Collapse
 
rcrohan profile image
Rohan

Generally, I host my static websites on Netlify it is nice and quite easy for the folders present in the root of the repo. Actually I wanted to know how to host the monorepos(A GitHub Repo consisting of more than one folder and each folder consisting of static websites and being hosted) I even went through the documentation but I couldn't do so if anyone did it before or any link to do so with better examples please do comment

Collapse
 
davychhouk profile image
Davy CHHOUK

Mine is on Vercel. Well, it's free forever for what I need.
Amazing!

Collapse
 
corentinbettiol profile image
Corentin Bettiol • Edited

I used to self-host my websites on a dell optiplex fx160 (following this post's recommendations), but I don't have a stable enough access to internet to still use it.

So I moved all my websites to alwaysdata, it's a cool little hosting company and the prices are low with the student discount :)

edit: the website is now on the fx160!

Collapse
 
jvarness profile image
Jake Varness

I ❤️ Vercel. I've been using them for quite some time and I love their product.

Collapse
 
madza profile image
Madza

Did you try Netlify or other services before? If so, why did you prefer Vercel? 👀

Collapse
 
jvarness profile image
Jake Varness

I've been using Vercel since they were Zeit. I didn't know about Netlify until about a year ago.

The thing that made me want to use Zeit was it's simplicity: type now in your terminal to deploy your website. So simple in it's implementation yet so powerful!

They're also the people behind Next.js, which is a React-based framework that I absolutely love using.

Thread Thread
 
madza profile image
Madza

I believe Next.js holds great future potential 🔥🔥

Collapse
 
arepp23 profile image
Austin Repp

I wrote about this here. I am hosting my Hugo-generated static site on Github pages and loving the process. It's free, even with a custom domain, and I have no complaints.

Collapse
 
starpebble profile image
starpebble

Amplify. It's nifty. A few thoughts of mine to kindly share: it brings a CI/CD pipeline to the table; Amplify gives the static files to CloudFront, which is like a CDN, to host; and Amplify simplifies the auto-configuration of SSL and DNS. 👍

Collapse
 
steinbring profile image
Joe Steinbring

I have been putting a lot of my static sites on render. It's free and you're able to attach a subdomain with a cert. That is something that isn't very common.

Collapse
 
madza profile image
Madza

That feature could come in handy in many cases, agree 😉👍

Collapse
 
aabiseverywhere profile image
Aabishkar Wagle

AWS S3

Collapse
 
madza profile image
Madza

I've heard a lot of great stuff on it 😉
What about the learning curve on S3? 👀

Collapse
 
greeder59 profile image
Gordon Reeder

Started out with Netlify. My account was suspended, not sure why. Tried NeoCities. It was OK but I couldn't use a custom domain name with it (for free). Tried static hosting on Python Anywhere. It's possible to do, but I couldn't get it working. Ended up at Github Pages. It was only logical to host eval-pelican on GHpages since the entire project is a Git Hub public repository. FWIW: eval-pelican was a web site I created to evaluate the Pelican static site generator. It turned into a tutorial.

Collapse
 
dtinth profile image
Thai Pangsakulyanont

Shout out to Glitch for their newly-added support for always-on static sites.

Collapse
 
madza profile image
Madza

We are getting more and more options for static, that's awesome 🔥🔥

Collapse
 
rubensudos profile image
ruben

Fleek.co, Render, Netlify... I like to test, can you tell :p

Collapse
 
shaijut profile image
Shaiju T

Godaddy for some usage.

Collapse
 
karandpr profile image
Karan Gandhi

Firebase , GitHub pages , self hosted, free hosting . Just like trying new things out.

Collapse
 
madza profile image
Madza

That's the way to go 🔥🔥
New services = new solutions and opportunities 🚀

Collapse
 
karandpr profile image
Karan Gandhi

So much this.

Collapse
 
louislow profile image
Louis Low • Edited

My incredible ugly website is hosted at Github. I am looking for budget convenient.

Collapse
 
madza profile image
Madza

That's an awesome portfolio 🤩
Plus some 🔥 projects there 😉

Collapse
 
louislow profile image
Louis Low • Edited

Thank you! I am a perfectionist person and trying hard to be the best for both codework and artwork. The portfolio website is built with my own MVP and CSS frameworks. Enjoy my story then.

Thread Thread
 
madza profile image
Madza

I can tell by you saying it's ugly 😂 I stand by the same principles too and always believed that you can achieve the most by aiming at impossible 🎯🚀💯

Collapse
 
thomasgodart profile image
Thomas Godart

The best I've found is a dedicated simple Ubuntu server at scaleway.com/en/dedibox/ the price tag starts just below 10€ a month,

Otherwise a home server with a good internet landline like an optic fiber but even less than that is often sufficient, and a tiny raspberry (~35€) or a Jetson Nano (110€) would do the trick, with a SSD.

Collapse
 
madza profile image
Madza

A little work, but you get full control of what's going on 👍🔥

Collapse
 
adriangrigore profile image
Adrian Emil Grigore

I don't think there's a faster way in terms of launching. 😛

I also built this: adi.tilde.institute/default.css/

Collapse
 
remotesynth profile image
Brian Rinaldi

I've hosted everything through Netlify for a long time and have always been impressed by their service. Tools like Forms, Functions and Identity are super useful to me too.

Collapse
 
madza profile image
Madza

Do you use any paid plan or stick with the free tier? 👀

Collapse
 
remotesynth profile image
Brian Rinaldi

Because of being a very early adopter and for the my being an advocate of Jamstack for years, I am on a "friend of Netlify" account - so some features that would be charged are free. However, I don't think much of anything that I have done so far would have hit any of the usage caps.

Collapse
 
0xkoji profile image
0xkoji

Netlify and Vercel

Just started using Vercel for notion-blog

Collapse
 
k33g_org profile image
Senior Enterprise Geek 🦊 🤖🌼
  • GitLab Pages
  • Clever Cloud
Collapse
 
madza profile image
Madza

Clever cloud? Learned something new, thanks 👍

Collapse
 
bassforce86 profile image
James King

GitLab Pages Just because the pipeline integration, Domain management and flexibility makes my life considerably easier.

Collapse
 
arturssmirnovs profile image
Arturs Smirnovs

Github, as it's easy to use.. I manage all my code there, so it's easy just to create static sites from there.. #lazy :D

Collapse
 
madza profile image
Madza

I make sense to push code and deploy on the same place 😉
Simple and most importantly works just fine 😉

Collapse
 
aybee5 profile image
Ibrahim Abdullahi Aliyu

I use netlify for SPA, i love how it build and host my app just by git push

Collapse
 
madza profile image
Madza

Same here, one of the features I love most 👍

Collapse
 
saitejach127 profile image
Sai Teja

You can try glitch also it is also an easy way to store files and directly links to github

Collapse
 
andrewbaisden profile image
Andrew Baisden

Netlify, Vercel and Heroku are my top 3.

Collapse
 
madza profile image
Madza • Edited

Pretty fire list 🔥

Collapse
 
heyay profile image
Ayush

vercel bro, smooth is af

Collapse
 
bobbyiliev profile image
Bobby Iliev

I just have an Nginx server on DigitalOcean and I have all my static sites there.

Collapse
 
juanitomint profile image
Juan Ignacio Borda

For heavy lift I use aws amplify which has a cloudfront cdn behind and s3 for update the cdn distribution

Collapse
 
icyjoseph profile image
Joseph

If you don't even have a minute to spare, use Surge, takes about 1 second.

Collapse
 
gocarlgo profile image
captproton

+1 for Netlify. It automatically updates when I push to github.

Collapse
 
highcenburg profile image
Vicente G. Reyes

I host on Netlify, AWS S3 and GitHub pages :D

Collapse
 
juanfara profile image
Juan

AWS S3 is the way to go for static sites.
Completely free and, as a bonus you can start dealing with AWS which in my opinion would become (already is ?) a must on web dev pretty soon.
;-)

Collapse
 
aralovelace profile image
April Smith • Edited

Firebase - its easier to deploy esp my angular applications

Collapse
 
zilti_500 profile image
Daniel Ziltener

I have a homeserver and host it there

Collapse
 
oaraujocesar profile image
César O. Araújo

GitHub Pages, Netlify or Heroku. Never tryied Firebase but I will someday!

Collapse
 
kraenhansen profile image
Kræn Hansen

Full disclosure: I help build it .. but it is the platform I use: MongoDB Realm docs.mongodb.com/realm/hosting/

Collapse
 
amitness profile image
Amit Chaudhary

Github pages along with utterances for comments.

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

Netlify for me

Collapse
 
keiohtani profile image
Kei Ohtani

I use Neflify, Firebase, S3, and XServer.

Collapse
 
ender_minyard profile image
ender minyard

anything that auto-deploys from Github without asking for too many permissions

Collapse
 
michaelphipps profile image
Phippsy

I've got a machine on VULTR running apache.

Collapse
 
faraixyz profile image
Farai Gandiya

GitHub and GitLab Pages since I couldn’t be bothered to set something fancy. I want to move to Zeit and make use of the url rewrites so i can simplify links.

Collapse
 
ecognito profile image
E Cognito
Collapse
 
codenameone profile image
Shai Almog

On our regular website but make sure to enable caching with cloudflare or a similar CDN. This makes them perform well and removes all the overhead of hosting them from your server.

Collapse
 
hughcaluscusin profile image
Hugh Caluscusin • Edited

I host my sites on Netlify (static) and Zeit which is now called Vercel (static or has backend stuffs). EDIT: I forgot to mention Heroku.

Collapse
 
ender_minyard profile image
ender minyard

First it was Now.sh, then it was called Zeit, now it's called Vercel...and in the transition from Zeit to Vercel they removed serverful hosting!

Despite this hangup, I do like their UI.

Collapse
 
jvarness profile image
Jake Varness

What do you mean by serverful? Is it not possible to run your app serverless?

Collapse
 
anibalardid profile image
Anibal

in my case DigitalOcean

Collapse
 
adaptive profile image
Hugo Romano
Collapse
 
schandra1008 profile image
Saurabh Yadav

GitHub pages