Skip to main content
Glossary

Hosting

A service that provides infrastructure and resources for making web applications and websites accessible over the internet.

Detailed Explanation

Web hosting provides the servers, networking, and storage needed to run your application on the internet. Modern hosting options range from simple static file hosting (Netlify, Vercel) to full server management (AWS EC2, DigitalOcean) to platform-as-a-service (Heroku, Railway) and serverless (Cloudflare Workers, Vercel Functions).

Choosing the right hosting depends on your application type, technical requirements, budget, and team expertise. Static sites can be hosted for free on CDNs. Serverless platforms charge only for usage. VPS providers give full control but require management. Managed platforms balance convenience and control.

Why It Matters

Hosting determines your application's availability, performance, scalability, and operational burden. Choosing the right provider saves time, money, and headaches.

Real-World Example

A startup hosts their Next.js frontend on Vercel (automatic deployments, edge functions), their PostgreSQL database on Supabase (managed), and their background jobs on Railway (always-on containers)—each optimized for its workload.

When to Use

Every web application needs hosting. The choice depends on your tech stack, traffic expectations, budget, and operational expertise.

Advantages

  • Makes applications accessible globally
  • Managed options reduce operational burden
  • Scalable to handle traffic spikes
  • Built-in SSL, CDN, and monitoring
  • Pay-as-you-go pricing for variable workloads

Disadvantages

  • Costs can scale unpredictably
  • Vendor lock-in with proprietary services
  • Performance varies by provider and region
  • Configuration complexity for advanced setups
  • Downtime risk if provider has issues

Frequently Asked Questions

What is the best hosting for a startup?

For most startups: Vercel or Netlify for frontend/static, Supabase or Railway for backend/database, and Cloudflare Workers for edge functions. This stack is affordable, scalable, and requires minimal DevOps.

What is the difference between shared and dedicated hosting?

Shared hosting puts your app on a server with other apps (cheaper, less control). Dedicated hosting gives you an entire server (more expensive, full control). Cloud hosting (AWS, GCP) sits between with scalable virtual machines.

How much does web hosting cost?

Static sites: free to $20/month. Small apps: $20-100/month. Medium apps: $100-500/month. Large apps: $500+ month. Serverless: pay per request, often under $50/month for moderate traffic.

What is the difference between hosting and a CDN?

Hosting runs your application code and serves dynamic content. A CDN caches and serves static content (images, CSS, JS) from servers close to users. Most hosting platforms include CDN capabilities.

Can I switch hosting providers?

Yes, but it requires planning. Standard tech stacks (Node.js, PostgreSQL) are portable. Proprietary services (Firebase, Vercel Functions) create lock-in. Always keep your application portable and avoid provider-specific features when possible.

Back to Glossary

Browse all terms in our software development glossary.

Browse All Terms