DEV Community

bdn
bdn

Posted on

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

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!

Top comments (13)

Collapse
 
rhymes profile image
rhymes
Collapse
 
fishj123 profile image
Jack Fisher

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

Collapse
 
reebboot profile image
John Dev

I agree, it's very easy and powerful enough.

Collapse
 
yloganathan profile image
Yuva

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.

Collapse
 
bayuangora profile image
Bayu Angora • Edited

AWS has complicated setup and credit card needed.

Collapse
 
lucifer1004 profile image
Gabriel Wu

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

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
lucifer1004 profile image
Gabriel Wu

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

Thread Thread
 
bayuangora profile image
Bayu Angora

Also their support is good.

Collapse
 
tobiassn profile image
Tobias SN

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

Collapse
 
_baretto profile image
Elston Baretto

Checkout tiiny.host - easiest by far

Collapse
 
bayuangora profile image
Bayu Angora

Must login and reupdate every weeks to make uploaded website online.

Collapse
 
albertc44 profile image
Al Chen

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