DEV Community

Cover image for Where do you host your static sites?
Madza
Madza

Posted on

Where do you host your static sites?

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.

Where do you host your static sites and why?

Top comments (80)

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
 
davychhouk profile image
Davy CHHOUK

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

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
 
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
 
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
 
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
 
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
 
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
 
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
 
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 👍🔥