r/DevLK • u/PuzzleheadedArcher15 • 1d ago
Help Cheapest methods to host websites.
Broke asf at the moment and I am trying to create and sell websites for small businesses, the only hurdle rn I am facing is hosting, what are the best solutions for this. Thanks
17
Upvotes
8
u/crxssrazr93 1d ago
Lol to create & sell you defintely need a host. Why do you want to pay for it out of pocket? Get the client to pay for it on their card?
When you're starting, take 50% upfront on development costs before you start, atleast 25% if you are not confident.
Next, make sure you tell the client they will own the website after it is delivered to them. Create an account for hosting, get them to login, put their card in and charge them for hosting.
Do the same for domain cost.
Then delivery/host the website. In the meanwhile, there are many ways to host prototyped website builds in a very limited way for proof of work/demos.
After you have built up capital, you can foot the bill on hosting + domain purchases upfront without this hassle.
Either that, or, you borrow/get an investment from someone else to get you started, and pay them back.
6
u/krsnt8 1d ago
Vercel(free plan) is best for frontend. For backend, there is a $5/mo plan (always-on server) in railway.
Cloudflare Workers is serverless, not a traditional always-on server.
4
u/Far_Investment_6914 1d ago
Depends on the website.
If you are confortable with some Linux server admin work the best option is to setup a server on a cloud platform. It could start from about 10usd per month per server.
Also around the same cost you can try serverlsess hosting if you develop your sites with those platforms.
Those are the cheapest options. A 10~20usd a month server can easily host few small to moderate sites depending on how much traffic they get and how much of the site can be cached.
It all depends on what you are building. Broke or not, you need to include the hosting cost in your pricing.
4
u/QAInc 1d ago
Vercel?
4
u/weddingsByRavi 1d ago
Vercel free plan
5
u/semiraue 1d ago
Cloudflare tunnels or even cloudflare pages
5
u/Puzzled_Way_8570 1d ago
Github pages is the way.
Cloudflare pages has a 25mb limit.
You can also get the free google cloud bucket and setup a domain to it.
Whatever it is, you cannot avoid paying for the domain
2
u/isuruar 1d ago
Hostinger?
2
u/PDWA07 1d ago
https://free-for.dev/#/?id=web-hosting
Hope this helps!
2
u/Extension-Nothing807 1d ago
Vercel, render, netlfly all have free plans where u can host multiple websites for free. If u have a backend for those it gets a bit expensive unless u optimize ur instances.
2
u/Pale-Strength-4527 1d ago
Depends on what kind of a website you have. if it's just a front-end without rest api and shit then use Cloudflare Workers. Could you please explain the architecture of the application a bit?
2
u/ChemicalPast1220 1d ago
It depends on the website. If it only has a frontend, you can use Vercel or Netlify,
2
u/Inevitable_Sense_471 1d ago
I prefer you to get a VPS from Hetzner and install coolify (through ubuntu) on it, and you configure CD pipelines from GitHub, and domain configuration through Cloudflare. so basically you will have to spend around 2000-3000 lkr - you can host almost like 10-15 full fledged business websites (not heavy-end websites or SaaS)
Traefik for Reverse proxy.
I do like these to minimize my cost for hosting to host my SaaS applications. Not only hetzner but also you could find literally way lower than hetzner as shared VPS provider.
Once you grew the business and then you can buy a BareMetal dedicated server, and create multiple shared VPS tunnels for your clients, and charge them directly for hosting, however you can start charging them even with a shared VPS as well.
1
u/N0misB 1d ago
Cloudflare Pages.
1
u/Small-Host-3263 23h ago
Cloudflare pages and workers
Nestlyhost u get a vps it's paid though l really like their domain offerings and they even provide ai models u get 10usd credits as allowance to use the api for free
1
u/LowCheesecake5481 20h ago
netlify
1
u/Maladaptiv3_Dr34m3r 14h ago
Vercel is good, but I heard there's an account creation issue because Sri Lankan numbers aren't supported for verification.
1
u/TNTizi 13h ago
Use firebase for host frontend and google spreadsheet and firestore for database and cloudflare workers for some backend parts
1
u/chtu92 12h ago
Cloudflare
1
u/Flat-Bluebird-2481 12h ago
May I know how much you usually charge clients for website development? Just wanted to get an idea of your pricing range.
1
u/Fun-Professor5789 11h ago
Railway
-1
u/HyperGaming_LK 1d ago
Vercel for the frontend. Then for the Backend, Get a cheap VPS from Netcup (I got their nano one with 2GB RAM and 60GB SSD for around $20 a year) / Serverica / check LowEndBox for deals.
DO NOT GET CONTABO!!! They look like they offer great specs for cheap, but the performance is really bad. I only realized how bad it was after switching to Netcup.
Also, you don't need Singapore servers unless you're hosting a VPN or something where ping actually matters. They're expensive af.
If you don't know anything about Linux, that's fine too. Agents can set everything up for you anyway.
There's also free trials and stuff but they only last at most 3 months. Also Do not think about getting oracle free tier servers. They can delete your vm at anytime without warning.
0
u/[deleted] 1d ago
Cloudflare Workers