r/FullStack • • Oct 17 '26

Career Guidance How to host a website for free??

I'm creating a full stack website with react + expess.js and mongodb can anyone tell me how to host it for free because I can't host it in vercel 😭

16 Upvotes

48 comments sorted by

4

u/michalcon29 Oct 17 '26

Try Cloudflare workers/pages

3

u/juke12345 Oct 21 '26

ubuntu server + aapanel + port 443 , use claudeflare to get SSL ( 15 years ) or in aapanel you can setup ssl every 30 days. aapanel can easly setup dockers as well for isolation

1

u/SmileTop8839 Algorithm Whisperer (AI/ML) Oct 23 '26

Nice

3

u/HouseMysterious8172 Oct 19 '26 edited Oct 19 '26

For testing, try ngrok to self-host your web app, your website is host direct from your pc.

You have 1 free domain per account.

2

u/Draegan88 Oct 17 '26

i have a digital ocean droplet and I host hundred of websites from there for likke 8 bucks a month

2

u/tekonphone Oct 17 '26

Old laptop and coolify Alternatively pay like 10 dollars a year or something for a VPS.... And get coolify

2

u/Suspicious-Grand1252 Oct 18 '26

Use aws free tier , it gives 200$ free credit

1

u/WhatTheDeveloper Oct 20 '26

Github pages Firebase Netlify

If you can afford (i know asked for "free", still...) ~400 inr per month , buy cheap cloud ubuntu vps , host using nginx , since you're asking this free question, i am assuming you're at beginner level. You'll learn alot deploying on real machine

1

u/billiexx Oct 20 '26

For MERN, I’d choose the backend hosting separately from the React frontend. An Oracle free VM gives you a Linux machine, but capacity and idle reclamation matter. Workers is another option for a small request-based API, with a tight CPU budget. MongoDB needs its own allowance check. I maintain this free-compute comparison covering those distinctions.

1

u/Inside-Beat1013 Oct 21 '26

Oracle free tier gives you a vps

1

u/RemoteCharming8 Oct 21 '26

Yes but needs a credit card for getting the vps reliably. I use this to host my website.

1

u/blunt-vibz Oct 21 '26

You can easily do it deploy react and express seperately on vercel and use mondodb atlas for database

1

u/suboculus Oct 23 '26

nginx + your computer = holy hosted website

1

u/authentic_developer Oct 23 '26

Cloudflare is one of the best solution even for beginners.

1

u/Proper_Tip3506 Oct 17 '26

Why can't you host in vercel? Netlify is good alternative

0

u/[deleted] Oct 17 '26

[deleted] — view deleted comment

1

u/Proper_Tip3506 Oct 17 '26

For that look for Render or Railway

1

u/who_flung_dung5709 Oct 17 '26

Netlify is spot on for this

0

u/[deleted] Oct 17 '26

[deleted] — view deleted comment

1

u/who_flung_dung5709 Oct 17 '26

It does mate yeah.

1

u/Constant_Physics8504 Oct 17 '26

It depends on the website activity

1

u/fufufuski Oct 18 '26

Oracle free tier

1

u/Far_Owl5970 Oct 19 '26

Yeah, OCi is truly underrated.

1

u/Content-Conference25 Oct 18 '26

Last year I bought a hostinger promo for 48 months worth of web hosting for around like $40ish. That's like $10/annum. I'll move to a cheaper ones when it's about to expire.

If your site would be static, you can deploy one in Cloudflare for free.

1

u/AstronautNo6022 Oct 18 '26

Render is the best option only keep in mind that on free tier after 14 min of inactivity it goes down, simple solution to that is keep pinging the server every 14min use something tool like uptimeRobot

1

u/UptimeRobot Oct 20 '26

Thank you for your support!

1

u/saeedashifahmed Oct 18 '26

A lots of options. Cloudflare Workers, Netlify, Vercel, Amazon Amplify.

1

u/PriorTrick Oct 18 '26

I prefer Cloudflare workers over vercel anyways but why can’t you use vercel?

1

u/claytercek Oct 18 '26

You could try swapping express for hono for serverless support so that it’s compatible with vercel (though I’d recommend cloudflare workers for free serverless hosting!). The harder part is the database. Mongodb atlas has a fairly good free tier.

1

u/JustQuriousss Oct 18 '26

React can be hosted on vercel, cloudflare pages or any VPS(AWS, Oracle Cloud Free Tier) and MongoDB Atlas has a generous free tier but if you are willing to migrate to Postgres(Neon has a generous free teir as well. and for express.js backend, there are 2 main options.
Go the traditional route of setting up a VPS or Migrate to hono and host on cloudflare workers.

1

u/hello-techlab Oct 19 '26

What about 🔥 Firebase, you may use firestore instead of mongodb

1

u/OptimalFondant7285 Oct 19 '26

Netlify, Render

1

u/dettol99perc Oct 20 '26

Render does have the shutdowns when inactive for anything non static if nothing has changed since I've last used it

1

u/[deleted] Oct 20 '26

Leave your PC on, then Docker and Cloudflared.

1

u/Visual-Mind-9219 Oct 20 '26

Use render , instead of vercel , however vercel only supports so host frontend part ! But you can use render to host full stack web

1

u/Harish_1908 Oct 20 '26

Try Cloudflare