Vibe Code Forum teamAdmin
Your app runs on your computer at localhost. To let anyone else use it, it needs to run on a server with a public address. That is hosting, and deploying means sending your latest version there.
The main kinds of hosting
Front-end and full-stack platforms: Vercel, Netlify, Cloudflare Pages and similar. Connect your GitHub repository, and every time you push, they build and publish your site automatically. Ideal for websites and apps built with React, Next.js, Vite, Astro and so on. Server code runs as short "functions".
App platforms: Render, Railway, Fly.io and similar run long-running servers, background workers and databases. Use them when your app has a server that must always be on, scheduled jobs or WebSockets.
Built-in hosting: most AI app builders, and Replit, publish for you with one click. The easiest start; check what you can take with you if you leave.
Your own server (a VPS): the most control and often the cheapest at scale, but you handle updates, security and backups. Not a beginner's first step.
Deploying from GitHub (the usual flow)
- Push your project to GitHub. See Git and GitHub explained.
- Sign in to the hosting platform with GitHub and import the repository.
- It usually detects the framework and fills in the build settings. Accept the defaults unless your AI tool says otherwise.
- Add your environment variables (keys and settings) in the platform's settings. See Environment variables and .env files.
- Deploy. You get a free address. Add your own domain later; see Domains, DNS and hosting.
When a deploy fails
Open the build log and copy the first error (not the last line) into your AI tool, along with "this works locally but fails on [platform]". Common causes: a missing environment variable, a different Node version, or a file name whose upper and lower case differs from the import (some servers are case-sensitive where your computer isn't).
Costs
Hobby and free tiers are generous for small sites. Usage-based pricing (bandwidth, function time, build minutes) can grow with traffic; set spending limits. See Keep costs under control and the going live checklist.