What's the best way to host small websites for free?

twitter logo github logo ・1 min read

Hello dev community! πŸ‘‹

I'm working on a fun project where I'll need to host a few .html files and a good number of SVG images. I've been researching GitHub Pages and that seems like a good idea for relatively small sites, but I wasn't sure if that's the best way to go if I have ~1.5mB of SVGs to go along with it.

I'd be very grateful for any ideas or suggestions. Thank you!

twitter logo DISCUSS (10)
markdown guide

I would recommend Now, it is more than static content hosting, but a complete serverless solution.


Thanks Gabriel! For what reasons do you prefer Now over alternatives?


For static websites, there have been many solutions, and it is hard to say which one is better.

However, you would want more than just static pages, and Now offers that.
If you have a look at their docs, you would find that Now currently provides support for Node/Python/PHP/Rust/Go/..., which is quite impressive.

To sum up, Now is more like a FaaS (Function as a service), and static page hosting is just one of its capabilities.

P.S., the team behind Now (zeit.co), is the creator of the famous React SSR framework Next.js


I have used AWS S3 static site hosting and AWS route 53 for custom domain mapping.
I like writing articles in markdown and used mkdocs to convert them to a simple site and then deploy it to S3 as well.


I used Netlify for my first ever static website and I'd definitely recommend it. Really easy setup!


I've been using Heroku for a few years to spin up basic sites!


GitHub is fine for much more than 1.5 MB. Iirc, you can have up to 5 GB, which I think is plenty.

Classic DEV Post from May 26

How to Stay Fit Physically and Mentally and Keep Coding

Throughout the last year, I have worked part-time as a working student and also studied at the university. I was not the first and not the last one who has combined that during their studies, but the problem for me was, that at the end of the day I have felt absolutely exhausted mentally and physically. That caused problems with my health and motivation to continue working on my goals or anything. (yeah, β€œgoals,” I wish I had something more specific at that time).

Brendan Hersh profile image
Join dev.to

Better understand your code.