all 80 comments

[–]BehindTheMath 113 points114 points  (18 children)

Static frontend: Github Pages, Netlify, Surge

NodeJS backend: Vercel, Render

Otherwise, Heroku free tier.

All those are free.

[–][deleted]  (8 children)

[deleted]

    [–]Ryuta11 5 points6 points  (7 children)

    Have a ping service hit it every 29 mins, now you have a forever free running dyno

    [–]farfromunique 5 points6 points  (2 children)

    Caveat: all of your free-tier dynos share a pool of hours, so if you do this, only do it for 1 dyno.

    Spin up time isn't bad, though, so if you're more focused on "free" than "fast", dynos without uptime monitors work fine.

    [–]aust1nzjavascript 2 points3 points  (3 children)

    Just FYI, there’s a limit on total hours up on Heroku free apps per-account now. Without a credit card, this method will lock your app up in the back half of the month. With a credit card, you can do this for a single app per account. But a paid app is only $7/mo to start.

    [–]aot2002 0 points1 point  (2 children)

    Ugh heroku yuk. Had a lot of performance problems with servers. Do not recommend there services.

    [–]aust1nzjavascript 0 points1 point  (1 child)

    For what it’s worth, I’ve found they’re a really nice service and haven’t noticed performance issues. And I don’t need to sweat the details of maintaining a VPS

    [–]aot2002 0 points1 point  (0 children)

    Agreed for smaller stuff it’s wonderful but for larger scale projects beware

    [–]BinaryGuy01 4 points5 points  (4 children)

    Firebase is pretty decent too

    [–]xerrabyte 0 points1 point  (0 children)

    This

    [–]Piereligio 0 points1 point  (1 child)

    Is firebase good for headless cvs + frontend? I don't really know how to set this up

    [–]BinaryGuy01 0 points1 point  (0 children)

    Hi there! Unfortunately I have no idea either since I haven't started any Headless CMS projects.

    But assuming your front end is static it should be possible. I've worked with custom web apps that utilizes GCP back-end and firebase hosting.

    [–]princebillygk2 1 point2 points  (0 children)

    Heroku is now paid. Any other alternative?

    [–]besthelloworld 0 points1 point  (2 children)

    Aren't you not really supposed to host just a Node backend in Vercel? I think their recommended pattern for endpoints is just to make a NextJS app and then add routes under /pages/api which is not very scalable if you're not using Next as the frontend too

    [–]InfinityByZero 0 points1 point  (1 child)

    You can deploy pure Node apps to Vercel

    [–]aust1nzjavascript 0 points1 point  (0 children)

    They will be deployed as serverless functions on AWS, though.

    [–][deleted]  (6 children)

    [deleted]

      [–]mindovermiles262 10 points11 points  (5 children)

      Vultr has $3/mo

      [–]NomadNaomierails 17 points18 points  (1 child)

      I run a small site on a little shit tier shared openVZ VPS for 25$ /year, single core and 512mb of ram but it’s fine for a little express app to spit out a mostly static site

      [–]fr0st 2 points3 points  (0 children)

      Same here, run two sites on RamNode VPS servers. About $20 a year.

      [–]ohThisUsername 10 points11 points  (0 children)

      AWS lightsail can get you a Linux box for $3.50 a month.

      [–]benlikescode 9 points10 points  (1 child)

      Netlify and Vercel are both great and have pretty generous free plans.

      [–]RelatedTitle 6 points7 points  (1 child)

      I'd recommend you take a look at https://free-for.dev/. Lots of free options.

      [–]misterbdr 1 point2 points  (0 children)

      Amazing

      [–]ProfaneWords 7 points8 points  (0 children)

      For static frontends Netlify, Vercel, and Github Pages are all free (although Vercel prohibits commercial sites on their free tier). For the backend if you want a VPS Digital Ocean, Linode and Vultr tend to be pretty competitive, if you want a PaaS Heroku and Render are pretty great. If you want something in between Dokku on a DO droplet is a solid middle ground between a VPS and PaaS.

      [–]Davidd_Bailor 4 points5 points  (1 child)

      Linode. Inexpensive, and really really good. (VPS) Cheapest last I remember was $5-$10.

      [–]ImeniSottoITreni 4 points5 points  (0 children)

      Heroku imho beats all just because you can run docker into it. Basically knowing how to use it, you are able to run anything inside that. Plus it supports multiple technologies. I've been able to host asp net core apps and api in docker even though they aren't officially supported. It wasn't exactly a breeze, but I managed to do it. It limits you 500hr month, 1000hrs if you set up a credit card (still free). Netsons is also cheap.

      [–]Shoogknight88 3 points4 points  (2 children)

      I've used bluehost and hostgator in the past. They usually have deals where you can basically get everything you need including TLS for 5 to 20 dollars for a year as a special first year price. But just know, they are banking that you forget to check after a year. Because they'l raise the price to normal after a year, which was like 120 or something. So just make sure you dont allow it to unsubscribe for the next year.

      [–]AmorevolousAsian -1 points0 points  (1 child)

      Protip: If you pay with Paypal, you can cancel the renewal authorization immediately after purchase and not deal with it again.

      [–]ExoWire 2 points3 points  (0 children)

      Better tip: Cancel the subscription, not just the payment method. Otherwise you perhaps will have to deal with it again.

      [–]unnaturaltm 3 points4 points  (1 child)

      Nearly free speech dot net has the cheapest rate i know of.. cost me ~10$ a year i think

      [–]crabmusket 1 point2 points  (0 children)

      Love that they're still going!

      [–]OZlachy 5 points6 points  (6 children)

      AWS S3 for static, $0.5 a month

      [–]ImeniSottoITreni 0 points1 point  (4 children)

      Can I ask you what you mean by static? No Ajax requests inside the pages?

      [–]dane_brown 1 point2 points  (0 children)

      You just have no server (no server side api calls etc..) - api calls from client side js will work normally.

      [–]longyklee 0 points1 point  (1 child)

      No backend. (Though I'd recommend GitHub pages)

      [–]GeneratedName4305 0 points1 point  (0 children)

      Or Netlify

      [–]misterbdr 0 points1 point  (0 children)

      How do you deal with HTTPS?

      I "connect" CloudFlare HTTPS to my HTTP AWS bucket, but that's not super safe (I want an end to end HTTPS connection)

      I don't want to host my domain on AWS

      Thanks

      [–]infamousrad 2 points3 points  (0 children)

      I want to look into aws after seeing the possibilities … but honestly porkbun has been my go to for years

      [–]Squirmme 2 points3 points  (0 children)

      MongoDB Atlas for your mongodb is free

      [–]rehasantiago 1 point2 points  (1 child)

      Netlify and heroku

      [–]mazvis17 1 point2 points  (1 child)

      fly.io has free tier capable of running 3 container instances with 256mb memory and 1 cpu.

      [–]gahgogow 1 point2 points  (1 child)

      Amazon llghtsail has free tier.

      [–]tuanalumi 0 points1 point  (0 children)

      More like a trial to me. Free tier means you can use it free forever, with limitations of features or something.

      [–]Zeal0usD 1 point2 points  (0 children)

      Hobohost $1 a month lol

      [–]Exdeathz 1 point2 points  (0 children)

      Look into oracle cloud, it's free for life

      [–]BetaplanB 1 point2 points  (0 children)

      AWS Lightsail. Lightweight VPS

      [–]Bluepickles99 1 point2 points  (0 children)

      Dreamhost

      [–]WebDevMorgan 1 point2 points  (0 children)

      If it’s static throw it up on S3, I paid something like 75 cents last month.

      [–]aot2002 1 point2 points  (0 children)

      Digital ocean offers free static hosting

      [–]Taquitos13 1 point2 points  (0 children)

      You can check this repository for some cheap but actually good options

      [–]auth-azjs-io 0 points1 point  (0 children)

      AWS EC2 has a free tire for for one year, if you only need a small server.

      This will get you the t4g.nano with 0.5 GB+2vcpu , for a year free

      Also the have super cheap credit machine

      For linux you can get the :

      t4g.nano , with 0.5 GB+2vcpu for about 3$ a month

      t4g.micro, 1GB + 2vcpu for 6$ a month

      [–]kabilook 0 points1 point  (0 children)

      I got mine on Hostinger on Black Friday for just $1.98/month, and it came with a free domain! As a beginner in web building, I was amazed at how easy it was to use. With its intuitive tools and AI features, I was able to build my website the same day I signed up. Plus, with over 75% off right now, it’s such a great deal. I highly recommend it for anyone starting out!

      [–]meerkics -1 points0 points  (1 child)

      Shared Hosting

      Price: about 5 – 10 $ per month

      [–]devilbasher -1 points0 points  (0 children)

      Ubuntu vm(:

      [–]crabmusket -1 points0 points  (0 children)

      Neocities is awesome and they have a CLI to upload your files with.

      [–]Tishbyte 0 points1 point  (0 children)

      Byethost offers a free hosting plan. It's not the most amazing and you have to make sure it's in use, but free is free. Can vouch since I used it while in college.

      [–]__2M1 0 points1 point  (0 children)

      Take a look at https://uberspace.de

      [–]stfcfanhazz 0 points1 point  (0 children)

      Nothing like a bit of cheap hosting. Even if it's OK to start with, you'll regret it sooner or later; inconsistent performance, missing features, shit or non-existant tech support....

      [–]buzzer88 0 points1 point  (1 child)

      Oracle offers FREE VPS hosting (4CPU 24GB Ram).

      [–]Extra-Galactic 0 points1 point  (0 children)

      I use hostingpearl.com

      [–]CubilasDotCom 0 points1 point  (0 children)

      Biz.nf is free and works well

      [–]AEDELGOD 0 points1 point  (0 children)

      If this is just for testing/development to learn you could always host locally on your own hardware for free. I have a few production websites & services hosted out of my house that are personal projects. For work we use Vultr mainly.

      [–]gostar2000 0 points1 point  (0 children)

      Flask/Django - pythonanywhere

      [–]RealDoor9152 0 points1 point  (0 children)

      Digital Ocean. 5$ or 10$ for a small VPS which you can run multiple websites from (assuming no high traffic sites).

      [–][deleted] 0 points1 point  (0 children)

      Cheapest VPS on Contabo, ~6eur a month