Galle, LK--:--5/6 sites live

Zero-Cost Hosting for InFocus SLUG 2025 — and 25 Hosting & Domain Options Compared

Why the university games results site runs for nothing on free hosting, what 'free' really costs, and a 25-option comparison including Oracle Cloud Always Free, Cloud Run, Vercel and .lk domains.

30 Oct 20267 min read#Hosting#Free tier#Oracle Cloud#Domains
Zero-Cost Hosting for InFocus SLUG 2025 — and 25 Hosting & Domain Options Compared

The 2025 Sri Lanka University Games were hosted at Rajarata. As part of InFocus Media's coverage we needed a site for fixtures, results, a leaderboard, a blog and notices — something students across every university could open on a phone between matches.

It runs at infocusslug2025.free.nf, and it costs nothing. No domain bill, no hosting bill, no card on file. This story is about why that was the right decision, what "free" actually costs you, and how 25 hosting and domain options compare for this kind of work.

InFocus SLUG 2025


Why zero cost mattered here

The site has a season, not a lifetime. A games results site is critical for a few weeks and then becomes an archive. Paying monthly for something that peaks for three weeks is money a student media unit doesn't have.

Nobody should need a credit card to publish results. Student teams change every year. A paid account tied to one person's card is a handover problem waiting to happen — the site disappears when the card expires or the student graduates. A free account with shared credentials (and a written runbook) survives the handover.

The load is predictable. Fixtures and results are read-heavy, small and mostly text. Shared PHP hosting handles that comfortably.

Nothing to approve. "It costs nothing" removes a budget conversation, so the site can be ready before the first match.

What "free" really costs

Hidden costWhat it looked likeHow we handled it
Bot protectionThe host serves a JavaScript challenge to non-browser clients; curl gets nothing, real browsers are fineOur uptime check marks it "verified in browser" instead of failing
Branding & trustA free.nf subdomain looks less official than a .lk domainThe official unit site lives on infocusmedia.lk; the games site links back to it
LimitsDaily hit and CPU limits on free shared hostingLight pages, compressed images, no heavy server-side work
No SLANobody owes you uptimeTreat the site as the record, not the only channel — post results on social media too
Lock-in to PHP/MySQLNo Node or Python runtimeFine for a results CMS; anything heavier goes elsewhere

Free hosting is a great fit when the stakes are temporary, the content is simple, and there's a second channel if the site is down. It's a bad fit for anything that holds payments, personal data or an SLA.


The same decision across my live sites

SiteWhere it runsWhat it costsWhy
InFocus SLUG 2025InfinityFree, free.nf subdomainZeroSeasonal, read-heavy, committee-friendly
InFocus MediaVercel, custom .lk domainDomain onlyPermanent, official identity for the media unit
Ceyra LabsVercel, custom .com domainDomain onlyA studio needs its own name
Nora LabsGoogle Cloud RunPay per requestNeeds Python, AI agents and an API — and went offline
Side projects & previewsCoolify on one GCP VMUnder $10/month totalOne box, many apps

The pattern: pay for identity (a domain) when it's permanent, pay for compute only when the code needs it, and pay nothing for seasonal, static, read-heavy sites.


25 hosting & domain options compared

This is a practical guide, not a price list. Free tiers and prices change often (several changed in 2024–2025), so check each provider's current terms before you commit. "Free" below means a usable free tier exists at the time of writing.

#OptionTypeFree tierCustom domainGood forWatch out for
1InfinityFreeShared PHP/MySQLYes, with free subdomains (e.g. free.nf)YesEvent sites, small CMS, studentsHit/CPU limits, JS bot challenge, no SLA
2GitHub PagesStaticYesYes + HTTPSDocs, portfolios, handbooksStatic only; private-repo Pages needs a paid plan
3Cloudflare PagesStatic + edge functionsYes, generous bandwidthYesStatic sites and SPAs at scaleBuild-minute limits; functions have runtime limits
4Vercel (Hobby)Static + serverless (Next.js)Yes, non-commercialYesNext.js sites like InFocus MediaHobby is for personal/non-commercial use; bot checkpoint can block crawlers
5NetlifyStatic + functionsYesYesStatic sites, formsUsage-based limits on the free plan
6Firebase HostingStatic + CDNYes (Spark plan)YesSPAs with Firebase auth/dbDaily transfer cap on the free plan
7GitLab PagesStaticYesYesStatic sites from GitLab CICI minutes
8RenderStatic + web servicesStatic yes; free web services sleepYesSmall APIs, demosCold starts after inactivity
9KoyebContainersSmall free instanceYesA single small APITight resources
10PythonAnywherePython web appsBeginner accountPaid plansFlask/Django learning projectsOutbound internet allow-list on free
11Surge.shStatic (CLI)YesYesQuick static previewsStatic only
12NeocitiesStaticYesPaidPersonal static pagesStatic only, small storage
13Google Cloud RunServerless containersMonthly free request/CPU allowanceYes (domain mapping / LB)APIs like Nora LabsMin-instances cost; ephemeral disk; billing account needed
14Google Compute EngineVMOne small always-free VM in eligible US regionsYesCoolify, Quintrix-style workloadsEgress and disk beyond the free allowance
15Oracle Cloud (Always Free)VMs + storageArm (Ampere A1) and small AMD VMs, block storage and outbound transfer allowanceYesA surprisingly strong free VM for self-hostingArm capacity can be unavailable in busy regions; idle free instances may be reclaimed; card verification at signup
16AWS (S3 + CloudFront)Object storage + CDNNew-account free tier / credits (terms changed in 2025)Yes (Route 53 or external DNS)Static handbooks, SPAsPer-request and transfer charges after the free allowance
17AWS EC2 / LightsailVMCredits / free-tier offers varyYesClassic VPS learningEasy to leave something running
18Azure Static Web AppsStatic + functionsYesYesStatic sites with Azure FunctionsAzure account setup
19DigitalOceanVPS + App PlatformStatic sites on App PlatformYesSimple droplets, managed DBsDroplets are paid from the first month
20Hetzner CloudVPSNoYesCheapest serious VPS for CoolifyNo free tier; EU/US regions
21RailwayContainersTrial credit, then paidYesFast deploys of full-stack appsUsage billing
22Fly.ioContainers at the edgePay-as-you-go (free allowances changed)YesGlobal small appsCard required
23Coolify (self-hosted)Your own PaaSSoftware is free; you pay for the serverYes, wildcard + auto SSLMany small apps on one boxYou are the on-call engineer
24Shared hosting (Hostinger, Namecheap, etc.)Shared PHPNo (often bundled with a domain)YesWordPress for small businessesRenewal prices are higher than intro prices
25Domains: .lk vs free subdomains vs .comNamingFree subdomains: free.nf, vercel.app, pages.dev, github.io—.lk for official Sri Lankan organisations; .com for brands.lk registration has its own requirements and fees; buy .com at-cost registrars and watch renewal pricing

How I choose

Output
Is it seasonal, static or read-heavy?          → free static / free shared hosting (1–7, 11, 12)
Does it need a permanent official identity?    → pay for the domain, keep hosting free (Vercel, Pages)
Does it need Python, AI agents or an API?      → Cloud Run / Render / Koyeb (8, 9, 13)
Is it heavy, long-running or stateful?         → a VM (14, 15, 20) — ideally with Coolify (23)
Is it many small apps?                         → one VM + Coolify beats many paid plans
Does it hold payments or personal data?        → not on free hosting. Ever.

What I'd tell the next InFocus team

  1. Write the runbook — where it's hosted, who has the login, how to renew, what to do if it's down.
  2. Use a shared account, not someone's personal card.
  3. Keep the official domain separate from seasonal sites, and link them.
  4. Plan the second channel (social posts) for when the free host has a bad day.
  5. Archive at the end of the season — export the results so the history survives even if the free account doesn't.

See every live site and its status → · Paying for cloud as a student →


Keep going: ← Previous story · Back to the DevOps map →

Finished this one?

Progress is saved in this browser.

Guide