EDITORIAL ARTICLE

Cheap, Reliable Web Hosting: Choose the Right Architecture Before You Rent a Server

Looking for cheap, reliable web hosting? Compare Astro, Cloudflare, D1, and Hetzner to choose infrastructure that fits your traffic, data, and operations.

← Back to Blog
11 min read · Oct 19, 2026
Cheap, Reliable Web Hosting: Choose the Right Architecture Before You Rent a Server
#Web Hosting #Cloudflare #Hetzner #Astro #Small Business

If you are looking for cheap, reliable web hosting, the first decision should not be which server plan to rent.

It should be:

Which part of my business actually needs a server?

Maybe you want to validate a SaaS idea. Maybe your team needs a small internal tool. Maybe you have a product catalog, or an old website still hosted on GoDaddy because nobody wants to touch it.

Those are not the same technical problem.

A brochure website may need only fast static delivery. A catalog may need a small data layer. An internal application may require authentication, permissions, transactions, background jobs, and PostgreSQL.

The cheapest reliable architecture is not the one with the lowest advertised monthly price. It is the smallest architecture that can handle the real work without creating operational risk.

A website is not the same as an application

Consider three businesses:

  1. A local company needs pages for its services, location, contact details, and a few articles.
  2. A retailer needs product categories, prices, availability, and an admin panel.
  3. A team needs to register customers, generate documents, process payments, manage inventory, and run automated tasks.

All three may say, “We need a website.” Technically, they need three different products.

The first is mostly content. The second adds a controlled data layer. The third is an application with business rules and operational state.

Infrastructure should grow with that complexity—not before it.

The simple architecture for a modern website

For a corporate website, blog, landing page, or modest public catalog, a common architecture looks like this:

Astro
  ↓
Cloudflare Pages / Workers
  ↓
Optional D1 database for small managed content
  ↓
Git-based deployment

Astro is designed to render most of a page as fast, static HTML and add JavaScript only to the interactive components that need it. This is commonly called Islands Architecture. The official Astro Islands documentation explains how that approach avoids sending a large JavaScript application to every visitor.

For a small business, that can mean:

  • The public page loads from the edge;
  • The browser receives very little JavaScript by default;
  • Content changes can be deployed from Git;
  • There is no Node.js process running continuously just to serve a brochure page;
  • The operational surface is smaller than a traditional CMS installation.

This is especially useful when migrating an old GoDaddy site. A migration does not always require rebuilding the company’s entire operation. Sometimes the correct first step is simply to replace a slow, hard-to-maintain public website with a fast and versioned one.

What Cloudflare Pages does—and does not—solve

Cloudflare Pages can serve static assets globally. Cloudflare’s current documentation states that static asset requests are free and unlimited on both its free and paid Pages Functions plans. That does not mean every dynamic request is free or unlimited.

When a request invokes a Pages Function, it is billed and limited as a Workers request. On the Workers Free plan, the account limit is 100,000 requests per day. The Workers Paid plan starts at $5 per month and includes 10 million requests per month, with usage-based charges beyond the included amounts. See the official Pages Functions pricing and Workers pricing.

Which plan fits the request pattern?

Page or featureWhat the visitor generatesFree planWhen Paid becomes reasonable
Static landing page or public articleStatic asset requestsFree and unlimitedUsually not because of visitor volume alone
Static catalog with no server-side interactionStatic HTML, CSS, JavaScript, and imagesFree and unlimitedOnly if other account limits or operational requirements apply
Contact form or small API endpointWorker or Pages Function requestsUp to 100,000 per dayWhen the dynamic layer approaches the daily limit or needs more CPU
Authenticated internal panelDynamic requests plus database queries100,000 Worker requests/day; Hyperdrive has 100,000 queries/dayWhen polling, users, or query volume approach either limit
Document processing or long-running backend workWorker CPU time, subrequests, and possibly external compute10 ms CPU per invocationWhen the workload needs more CPU, longer execution, or predictable headroom

Workers Paid starts at $5/month, includes 10 million Worker requests/month and 30 million CPU milliseconds/month, and charges additional usage separately. The database provider, storage, email, and other external services are not included in that price. See the official Workers limits before treating the $5 plan as a complete infrastructure budget.

The practical distinction is simple:

  • A static landing page is mostly an asset-delivery problem;
  • A form handler, authenticated panel, or catalog API is a compute and data problem;
  • A process that runs for minutes is a workload-design problem.

Cloudflare is an excellent fit for the first category and can also handle many small applications. It is not a reason to pretend that every backend workload is static.

Where D1 fits

Cloudflare D1 is a serverless SQL database that can work well for small and medium-complexity data models, such as:

  • Blog posts and categories;
  • A modest product catalog;
  • Contact submissions;
  • Configuration for a managed website;
  • A simple internal dashboard;
  • Low-volume records that need structured queries.

D1 is not a database without limits. Current Cloudflare documentation lists a maximum size of 500 MB per database on the Workers Free plan and 10 GB per database on Workers Paid. The free plan includes 5 million rows read per day, 100,000 rows written per day, and 5 GB of total account storage. The paid plan includes larger monthly allowances and bills additional usage.

There is also an important performance detail: each individual D1 database processes queries essentially one at a time. If a query takes 1 millisecond, its theoretical throughput is very different from a query that takes 100 milliseconds. Full table scans and missing indexes can become a problem before the application has a large number of users.

The official D1 limits and D1 pricing should be checked before committing a production system to a specific plan.

Architecture decision diagram: static site, small data layer, and VPS workload Figure 1: A public website, a small data layer, and a long-running backend are different workloads. Choose the infrastructure for the workload—not for the label “website.”

D1 is a reasonable choice when tables remain controlled, queries are indexed, writes are not highly concurrent, and the application does not depend on long-running processes. It becomes less attractive when the system needs advanced PostgreSQL features, heavy document processing, complex transactions, or permanent workers.

The subtle limit when Cloudflare connects to PostgreSQL

If a Cloudflare Worker connects to a traditional PostgreSQL database through Hyperdrive, the relevant metric is not only HTTP traffic. Hyperdrive counts database statements.

Technical note for teams evaluating architecture

A dashboard request that executes five SQL statements consumes five Hyperdrive queries. For example:

20,000 API requests × 5 SQL statements = 100,000 Hyperdrive queries per day

That reaches the Workers Free Hyperdrive allowance even though the application received only 20,000 API requests. Cached and uncached statements are counted, and exceeding the daily limit causes further operations of that type to fail until the limit resets.

This means the first constraint for an internal inventory, supplier, or order-management tool may not be the number of concurrent users. It may be:

  • Queries executed by each screen;
  • Frequent polling;
  • Duplicate queries;
  • Endpoints that make too many database calls;
  • PDF generation or file processing;
  • Administrative workflows with intensive reads and writes.

Cloudflare has three different meters that should not be mixed:

What happensWhat is countedWorkers FreeWorkers Paid
A visitor loads HTML, CSS, JavaScript, or images served as static assetsStatic asset requestFree and unlimitedFree and unlimited
A visitor submits a form or opens an endpoint that runs Worker codeWorker or Pages Function request100,000 per day10 million per month included, then usage-based billing
A Worker sends a SQL statement through HyperdriveDatabase query100,000 per dayUnlimited
A Worker executes application codeCPU time10 ms per invocation30 million CPU milliseconds per month included; up to 5 minutes per invocation

Workers Paid currently starts at $5 per month. Additional Worker requests are billed after the included monthly allowance. See the official Workers pricing, Workers limits, Pages Functions pricing and Hyperdrive pricing documentation before selecting a plan.

This distinction changes the planning conversation. A marketing website can receive a large number of visits while remaining on the free static delivery path. A tool with authentication, forms, polling, or a supplier database consumes dynamic requests and database queries. These are illustrative planning scenarios, not promises about capacity:

Business scenarioApproximate daily activityMain limit to monitorPractical interpretation
Public product catalog1,000 visitors, mostly static pagesStatic asset deliveryFree may be technically sufficient
Small internal inventory tool5–20 operators and a limited catalogWorker requests and SQL statementsFree could work with efficient queries
Supplier or order management tool50–100 operators, dashboards, and pollingDynamic requests, CPU, and Hyperdrive queriesMonitor usage closely; Paid may be justified
Intensive administrative operation100+ operators, frequent polling, and many writesMore than 100,000 dynamic requests or SQL statementsEvaluate Workers Paid before reaching the limit
Business-critical availabilityAny volumeFailure behavior and operational guaranteesPaid is the more conservative starting point

The lesson is not that Cloudflare is unsuitable for PostgreSQL. Hyperdrive is specifically designed to improve connectivity to traditional regional SQL databases. The lesson is that a database-backed screen must be measured by statements per request, not by HTTP requests alone.

What a VPS such as Hetzner gives you

A Hetzner cloud server represents a different operating model. Instead of running short backend functions on demand, you rent a complete machine and decide what runs on it.

That can include:

  • Node.js or Python services;
  • PostgreSQL;
  • Redis;
  • Permanent workers;
  • Cron jobs;
  • File processing;
  • PDF generation;
  • Queues and scheduled tasks;
  • Internal services that need a private network.

The main benefit is control. If you need a process to run for several minutes, install a native library, maintain a persistent worker, or use PostgreSQL extensions, a VPS is often more natural than forcing the workload into a serverless function.

The tradeoff is responsibility. A cheap VPS is not a managed application. Your team or technical partner must account for:

  • Operating-system updates;
  • Firewall and SSH configuration;
  • TLS certificates;
  • User permissions;
  • Backups and restore tests;
  • Monitoring and logs;
  • Secret rotation;
  • Abuse protection;
  • Recovery after failure;
  • Capacity planning.

Hetzner’s documentation explicitly notes that backups and snapshots are copies of the server disk and do not include attached Volumes. It also documents a maximum of seven automatic backup slots. Read the official Hetzner backup and snapshot overview before treating a server backup as a complete database-backup strategy.

The server may be inexpensive. The operation around the server is not automatically free.

Practical comparison

NeedAstro + CloudflareBackend on a VPS
Corporate website5/5 Excellent2/5 Possible, but often excessive
Landing page for paid traffic5/5 Excellent1/5 Usually unnecessary
Small public catalog4/5 Strong fit with a small data layer3/5 Possible
Simple admin panel3/5 Appropriate with Functions and D15/5 Excellent
Advanced PostgreSQL1/5 Not its primary use case5/5 Excellent
Long-running processes2/5 Limited5/5 Excellent
Permanent workers2/5 Limited5/5 Excellent
OCR or heavy document processing2/5 May need additional services4/5 More natural
Global static delivery5/5 Excellent2/5 Requires additional architecture
Operating-system control1/5 Low5/5 High
Infrastructure maintenance5/5 Lower operational burden2/5 Higher operational burden

5/5 means the strongest fit for that requirement; 1/5 means the weakest fit. For maintenance, a higher score means less operational work for the business.

This is not a contest between Cloudflare and Hetzner. They solve different problems.

A hybrid architecture is often the practical answer

You do not have to place every part of a business on one provider:

Public website and catalog
  → Astro + Cloudflare

Simple administrative panel
  → Cloudflare Functions + D1

Long-running or heavy processing
  → Node.js or Python worker on a VPS

Files and generated documents
  → Object storage such as R2 or equivalent

Deployment
  → Git-based CI/CD

This lets each layer use infrastructure that matches its behavior. A company should not pay for and maintain a full server for a site that only publishes content. It also should not force a critical operational system into a runtime that was not designed for long jobs or complex transactional workloads.

Questions to answer before migrating

Before moving an old site or building an internal tool, answer these questions:

  1. What content must the business edit itself?
  2. How many people will use the panel?
  3. How many reads and writes happen each day?
  4. What data must be stored and for how long?
  5. Is an audit history required?
  6. Are there processes that run longer than a normal request?
  7. What happens if the database is unavailable?
  8. Who owns backups and restore testing?
  9. Which third-party services add recurring costs?
  10. What should be ready to scale in the next 12 months?

These questions usually reveal that the first version can be smaller than the original infrastructure proposal—or that a cheap shared host would create more risk than it removes.

CHOOSE THE RIGHT DIGITAL FOUNDATION

Need a reliable architecture for your business?

We help you choose the smallest dependable setup for publishing, selling, or operating online—then build the right next step.

  • A fast public website or landing page
  • A manageable product catalog

High-Converting Pro Landing Page

$749 USD · One-time

Start with Pro