Skip to main content Scroll Top

Backend Hosting Options: Where to Host Node.js, Python (Django), PHP (Laravel), .NET Apps and Databases (Heroku Alternatives Compared)

Updated September 2026 · Written and maintained by the Progression Agency strategy team

The back end of a web application, its API, background jobs and database, can run on a platform-as-a-service, in containers on a cloud, on a virtual private server or on a specialist host. This guide compares the options for Node.js, Django and FastAPI, Laravel and PHP, ASP.NET Core and managed databases, including the Heroku alternatives teams ask about, DigitalOcean versus AWS, and how to pick by traffic, budget and operations capacity.

On this page · 11 sections
  1. How to think about backend hosting
  2. Backend hosting options compared
  3. Node.js hosting
  4. Django, FastAPI and Python web app hosting
  5. PHP and Laravel hosting
  6. .NET and ASP.NET Core hosting
  7. Database hosting
  8. Heroku alternatives
  9. DigitalOcean vs AWS for a back end
  10. Choosing by situation
  11. How Progression Agency hosts back ends

The short answerFor a new product with no operations team, host the back end on a platform-as-a-service (Render, Railway, Fly.io, or a managed container service such as Google Cloud Run or AWS App Runner) and the database on a managed service (Neon, Supabase, RDS, Cloud SQL, PlanetScale). Move to containers on AWS, Google Cloud or Azure when traffic, background processing or compliance requires, or to a VPS (DigitalOcean, Hetzner, Linode) when cost matters and someone can run it. PHP and Laravel add Laravel Cloud and Forge; .NET adds Azure App Service; Django and FastAPI run well anywhere containers do.

Comparisons are based on each project’s official documentation as linked in the text. Progression Agency builds with all of the technologies compared and has no affiliate relationship with any of them.

How to think about backend hosting

A back end has three parts with different needs: the web/API process (stateless, scale horizontally), background workers (queues, scheduled jobs) and the database (stateful, back it up, do not improvise). Hosting options range from platforms that run all three for you to raw servers where you run everything. The right level is the highest one your budget allows and the lowest one your team can operate. See backend development services and API development.

The backend hosting ladder
The database should be managed at every rung.

Backend hosting options compared

Backend hosting options
OptionExamplesLanguagesYou manageCost modelBest for
Platform-as-a-serviceRender, Railway, Fly.io, HerokuNode, Python, PHP, .NET, Go, RubyApplication onlyPer service / usageMVPs, small teams
Managed containersGoogle Cloud Run, AWS App Runner, Azure Container AppsAnything in a containerContainer imageUsage, scale to zeroGrowth without Kubernetes
Serverless functionsAWS Lambda, Azure Functions, Cloudflare Workers, Vercel FunctionsNode, Python, .NET, Go (Workers: JS)CodePer requestAPIs with spiky traffic, edge logic
Managed KubernetesEKS, GKE, AKSAnythingCluster and workloadsNodes + usageMulti-service systems, large teams
VPSDigitalOcean, Hetzner, Linode, Vultr, LightsailAnythingEverythingFixed monthlyCost-sensitive, skilled operators
Language-specific platformsLaravel Cloud/Forge, Azure App Service, PythonAnywherePHP, .NET, PythonApplication (mostly)Plan + usageTeams standardized on one stack
Backend-as-a-serviceSupabase, Firebase, ConvexClient SDKs + functionsLittleUsageFront-end-heavy apps, MVPs

Node.js hosting

Node.js runs on every option above. For an Express, Fastify or NestJS API: Render, Railway or Fly.io for the fastest start; Cloud Run or App Runner for managed containers; Lambda or Vercel Functions for serverless APIs; a VPS with PM2 or Docker for cost. Next.js route handlers are hosted with the front end; see hosting for React and Next.js. Official deployment guidance: nodejs.org.

Django, FastAPI and Python web app hosting

Django needs a WSGI/ASGI server (Gunicorn or Uvicorn), a database (PostgreSQL), static file serving and usually Celery or a task queue. Render, Railway and Fly.io host it with little setup; Cloud Run and App Runner run it in containers; a VPS with Docker Compose is the classic cost-effective route; PythonAnywhere suits small projects. FastAPI follows the same pattern with Uvicorn. Django’s own deployment checklist covers the security settings that must change from development.

PHP and Laravel hosting

PHP has the widest hosting support of any language: shared and managed hosts run it natively, and Laravel adds Laravel Cloud (managed), Forge (provisioning on your own DigitalOcean, AWS or Hetzner servers) and Vapor (serverless on AWS). For a business Laravel app, Forge on a VPS or Laravel Cloud is the usual choice; for WordPress-style PHP sites, managed PHP hosting. Documentation: Laravel deployment.

.NET and ASP.NET Core hosting

ASP.NET Core runs cross-platform in containers, on Linux VPSs and on Windows. Azure App Service is the most integrated option, with deployment slots, scaling and Entra ID; Azure Container Apps and AKS for containers; AWS and Google Cloud run .NET containers equally well; Windows hosting (SmarterASP, Windows VPS) suits legacy .NET Framework apps. See ‎.NET development services and ASP.NET Core hosting docs.

Database hosting

Do not run a production database on a platform’s ephemeral disk or an unbacked-up VPS. Use a managed database: Neon, Supabase or Crunchy Bridge for PostgreSQL; PlanetScale or Aiven for MySQL; MongoDB Atlas for MongoDB; Upstash or Redis Cloud for Redis; or the cloud providers’ RDS, Cloud SQL and Azure Database. Managed services give automated backups, point-in-time recovery, replicas and upgrades. Keep the database in the same region as the application.

Managed database services
DatabaseManaged optionsNotes
PostgreSQLNeon, Supabase, RDS, Cloud SQL, Azure Database, Crunchy BridgeDefault for new products; serverless options scale to zero
MySQL / MariaDBPlanetScale, RDS, Cloud SQL, AivenCommon with PHP and WordPress
MongoDBMongoDB AtlasDocument store; Atlas runs on all three clouds
RedisUpstash, Redis Cloud, ElastiCacheCaching, queues, sessions
SQLite at the edgeCloudflare D1, TursoSmall datasets, edge apps
SQL ServerAzure SQL, RDS for SQL ServerMicrosoft stacks

Heroku alternatives

Heroku remains a capable platform, but after its free tier ended in 2022 many teams moved. The closest alternatives in workflow are Render, Railway and Fly.io (Git push or container deploy, managed Postgres, add-ons); DigitalOcean App Platform and Google Cloud Run offer similar simplicity on larger providers; Coolify and Dokku recreate the experience on your own VPS. Pick by language support, region needs and how the pricing scales with your usage.

Heroku alternatives
PlatformModelStrengthsConsider when
RenderPaaSSimple, managed Postgres, static sites, cronSmall teams wanting Heroku-like simplicity
RailwayPaaSFast setup, usage pricing, templatesPrototypes and small products
Fly.ioContainers on VMs, globalRegions worldwide, low latencyApps needing multi-region
DigitalOcean App PlatformPaaS on DigitalOceanPredictable pricing, DO ecosystemTeams on DigitalOcean
Google Cloud RunManaged containersScale to zero, GCP integrationGrowth without Kubernetes
AWS App RunnerManaged containersAWS integrationAWS shops
Coolify / DokkuSelf-hosted PaaS on a VPSLowest cost, full controlYou can run a server

DigitalOcean vs AWS for a back end

DigitalOcean is simpler and cheaper for droplets (VPS), managed databases and App Platform, with predictable pricing that suits small teams and agencies. AWS has every service and the deepest scaling and compliance options at the cost of complexity and a harder-to-predict bill. Start on DigitalOcean (or Hetzner, Linode) if you want servers you understand; start on AWS if you expect to need its ecosystem or already have AWS skills. See AWS vs Azure vs Google Cloud.

PaaS — PaaS. Render, Railway, Fly.io..
Ctr — Managed containers. Cloud Run, App Runner..
DB — Managed database. Neon, Supabase, RDS..
VPS — VPS. Cheapest with an operator..
Q — Queues. Workers for slow jobs..
Her — Heroku alternatives. Same workflow, new homes..

Choosing by situation

Backend hosting by situation
SituationRecommendation
MVP, no DevOpsRender, Railway or Fly.io + Neon/Supabase; or Supabase alone
Growing SaaS, containerizedCloud Run or App Runner + managed Postgres + Redis
Spiky API trafficServerless (Lambda, Workers) with a serverless database
Cost-driven, skilled operatorVPS (DigitalOcean, Hetzner) with Docker, Coolify or Forge
Laravel appLaravel Cloud or Forge on a VPS
.NET appAzure App Service or containers on any cloud
Regulated dataAWS, Azure or Google Cloud with compliance controls; see SaaS hosting

How Progression Agency hosts back ends

We start products on platforms or managed containers with managed databases, write the path to AWS or Google Cloud into the plan, use Cloudflare in front, and keep everything in the client’s accounts with infrastructure as code. See DevOps services and cloud migration services.

Need a home for your API or app back end?

We will recommend the platform for your language, traffic and budget, set it up and document it.

Get a backend hosting plan

Frequently asked questions

What is the best hosting for Node.js?
Render, Railway or Fly.io for simplicity; Cloud Run or App Runner for managed containers; a VPS for cost; Vercel or Cloudflare for serverless functions.
What is the best hosting for Django?
Render, Railway or Fly.io to start; Cloud Run or a VPS with Docker as it grows; managed PostgreSQL alongside.
What is the best hosting for PHP and Laravel?
Laravel Cloud or Forge on a VPS for Laravel; managed PHP hosting for CMS-style sites.
What is the best hosting for .NET?
Azure App Service for integration, or containers on any cloud.
What is database hosting?
Running a database on a managed service that handles backups, upgrades, replicas and monitoring.
Should I self-host my database?
Not for production unless you have an operator; managed databases are safer and not much more expensive.
What are the best Heroku alternatives?
Render, Railway, Fly.io, DigitalOcean App Platform, Google Cloud Run and self-hosted Coolify.
DigitalOcean or AWS?
DigitalOcean for simplicity and predictable cost; AWS for breadth, scale and compliance.
What is a PaaS?
Platform-as-a-service: hosting that runs your application code without you managing servers.
Can I host a backend for free?
Some platforms have free tiers for hobby use; production back ends should be on paid plans with backups.
How much does backend hosting cost?
From tens of dollars a month on a PaaS or VPS to thousands for scaled cloud deployments; databases add to it.
Where should background jobs run?
On a worker process or service on the same platform, fed by a queue (Redis, SQS, or a hosted queue).
Is serverless cheaper?
For spiky or low traffic, yes; for steady high traffic, containers or servers are usually cheaper.
Which does Progression Agency use?
Managed containers or a PaaS with managed Postgres to start, AWS or Google Cloud at scale, VPS when cost drives.
Can you migrate our backend off Heroku?
Yes; see cloud migration services.

Need software built?We design, build and support custom software, web apps and SaaS platforms, with a written scope first.

Get a software proposal

Get a free marketing proposal

Tell us what you are trying to grow and we will come back with a plan, not a pitch deck. Same-day reply on weekdays.

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.
Contact Us
0