How to Use Vercel: The Beginner's Guide to Your First Deploy

CodexFuse Team · 2026-10-29T14:24:48.576Z · 13 min read

Vercel turns a git push into a live website. This beginner guide covers the first deploy, preview deployments, custom domains, env vars, rollbacks, and the free Hobby plan limits.

Learning how to use Vercel is the fastest way to turn a half-finished project on your laptop into a website anyone in the world can open. You connect a Git repository, click Deploy, and Vercel builds your site and puts it on a global network in under a minute. Before you start, your project needs to be in Git — if it is not there yet, follow this beginner GitHub guide first, because everything Vercel does is built on top of your Git workflow.

This guide walks you through the full first-time path: the GitHub import, the dashboard deploy, the CLI alternative, preview deployments, a custom domain, environment variables, rollbacks, and exactly what the free Hobby plan gives you — with every number checked against Vercel's own pages on 2026-10-29.

What is Vercel, exactly?

Vercel is a cloud platform that deploys websites and web apps straight from Git repositories. You push code; Vercel builds it and serves it from a global edge network with HTTPS already on. It is best known as the home of Next.js, but it deploys static sites, React, Astro, Vue, and most other frontend frameworks too.

The whole beginner path is five moves:

  1. Push your project to GitHub. Vercel reads from your repository, so your code has to live in Git first.
  2. Sign up at vercel.com with GitHub. There is no separate password to manage — your GitHub account is the login.
  3. Import the repository. Click "Add New… → Project" and pick your repo; Vercel auto-detects the framework and pre-fills the build settings.
  4. Click Deploy. Vercel clones the repo, installs dependencies, runs the build, and hands you a live URL — usually in 30–90 seconds.
  5. Keep coding. Every push to your connected branch deploys itself; nothing more to press.

How does Vercel's push-to-deploy model work?

On Vercel, the deploy is your Git workflow, not a button you remember to press. Once your repository is connected, every push to the production branch triggers a new production deployment automatically — Vercel's own getting-started docs state this outright: "Every push to your connected branch triggers a new deployment automatically." That is the first of two truths no short "deploy in 2 minutes" guide bothers to lead with.

The second is that preview deployments are the real point of the platform. Every pull request — and every branch you push — gets its own live URL, so you (and your reviewer, client, or friend) test the actual site before it ever reaches production. The production URL stays untouched until you merge. Once you have used this loop, the old habit of deploying straight to production starts to feel reckless.

How to use Vercel: your first deploy in 7 steps

Your first deploy takes about five minutes if your code is already on GitHub. Here is the dashboard route, which is the one Vercel's own docs recommend for beginners.

  1. Sign up. Go to vercel.com and click Continue with GitHub. The Hobby plan activates instantly — no credit card, and it stays free for personal projects.
  2. Start a new project. In the dashboard, click Add New… → Project.
  3. Import your repository. You will see your GitHub repos listed. Find yours and click Import. If it is not listed, check that you granted Vercel access to that repo (or organization) during sign-up.
  4. Leave the build settings alone. Vercel detects your framework (Next.js, React, Astro, Vue, and others) and pre-fills the build command and output directory. Beginners almost never need to touch this. For a static site, there may be no build command at all — just point at the folder holding your index.html.
  5. Add environment variables (optional). If your app needs an API key, add it under Project Settings → Environment Variables before deploying — never commit keys to Git. More on this below.
  6. Click Deploy. Watch the build logs scroll in real time. Thirty to ninety seconds later you get a success screen with your live URL, something like your-project.vercel.app.
  7. Open it everywhere. The URL is HTTPS by default and served from Vercel's edge network. Open it on your phone, send it to a friend, break something, push a fix — and watch the redeploy happen on its own.

If your repo is private, nothing changes: Vercel deploys private repos on Hobby just as easily, and the site is still public unless you add password protection (a paid feature).

Deploying from the Vercel CLI

The dashboard is the friendly route; the CLI is the fast one. It is also how you deploy from CI/CD pipelines and test before pushing. Vercel's docs updated 2026-08-11 lay out the whole flow:

npm i -g vercel      # install the CLI once
vercel login         # authenticate in the browser
vercel               # deploy the current project (preview)
vercel --prod        # deploy straight to production

Run vercel from your project directory and the CLI detects the framework, builds, and deploys — then hands you a preview URL. Add --prod when you want that build to become the production site. Pair the CLI with a proper editor and the loop gets tight: this VS Code beginner guide sets up the other half of that workflow. If you use an AI coding agent (Claude Code, Cursor, Copilot, and friends), Vercel also ships an official plugin and agent skills that teach the agent to deploy with these same commands.

Preview deployments: every pull request gets a live URL

This is the feature that sells Vercel to teams, and it works the same for a solo beginner. Every branch you push gets its own preview URL, separate from production. Open a pull request and Vercel drops a comment with the link — your reviewer clicks and tests the real site, not a screenshot.

The practical payoff: you stop being scared of merges. If a change breaks the preview, the broken build never touched production — you just fix the branch and push again. Many beginners discover that preview URLs quietly replace their habit of screenshotting "does this look right?" — the link is faster.

How to connect a custom domain to Vercel

Connecting your own domain is free on the Hobby plan — you only pay your registrar for the domain itself. In the Vercel dashboard, go to Project Settings → Domains → Add Domain and type the domain. Vercel will then show you the exact DNS records to add at your registrar (or, if your nameservers point to Vercel, you can add them with vercel dns add).

For a typical setup you add two things:

RecordHostPoints to
A@ (the apex, e.g. example.com)76.76.21.21 — Vercel's documented apex address
CNAMEwwwThe target Vercel shows in Settings → Domains (it is project-specific, so copy it from your dashboard)

A few things beginners hit: the "Invalid Configuration" status is normal until DNS propagates — give it minutes to a few hours. If you add both the apex and www, set one to redirect to the other in project settings so search engines don't see duplicate content. And once DNS verifies, Vercel provisions the SSL certificate automatically — usually within minutes. If you don't own a domain yet, run the numbers with a domain price checker before you buy, since renewal prices vary a lot between registrars.

Environment variables: keep secrets out of your repo

Environment variables are how your deployed app gets its API keys, database URLs, and secrets — without those values ever living in your Git repository. Add them in Project Settings → Environment Variables, and Vercel injects them at build time. Set them separately per environment (Production, Preview, Development) so a test key never leaks into the live site.

The rule is simple: if a value would let someone impersonate you or spend your money, it goes in environment variables, never in a committed file. A .env file on your laptop is fine for local development — just make sure it is in .gitignore so it never gets pushed. After adding or changing a variable, redeploy so the new value takes effect.

Instant rollback: undo a bad deploy in one click

Every deployment Vercel makes is kept, and you can point production back at any earlier one instantly — no rebuild, no waiting. In the dashboard, open the Deployments tab, find the last good build, and choose the rollback/promote option. Your site returns to that exact state.

This is why the push-to-deploy model is safe for beginners: a broken merge is a one-click undo, not an emergency. Preview deployments catch most breakages before production, and rollbacks catch the rest.

The Vercel Hobby plan: what is free and where the line is

The Hobby plan is genuinely free — no card required — and Vercel's pricing page states it is "for personal, non-commercial use." Commercial projects belong on Pro. Here are the headline limits on Hobby, checked on Vercel's own pricing page on 2026-10-29:

ResourceHobby limit per month
Fast data transfer (bandwidth)100 GB
Function invocations1,000,000
Image optimization transformations5,000
Deployment storage10 GB
DeploymentsUnlimited
Instant rollbackIncluded
Additional usage purchasesNot available — you are capped at the limits above

Two limits matter in practice. First, 100 GB of bandwidth is more than it sounds — but it is a hard cap you cannot buy your way past on Hobby, so a viral post on a heavy page can pause the site. Second, Hobby is for personal projects; the moment the site earns money or serves a business, Vercel's terms point you at Pro. If free hosting is the whole goal and you just need a plain static site, it is also worth reading the best cheap web hosting comparison — traditional shared hosting is a different trade, and the three-year costs there are worth seeing before you commit anywhere.

How far does 100 GB actually go?

A quick bit of arithmetic, so the limit means something concrete:

Average page sizePage views 100 GB buys youWhat that looks like
200 KB (lean page)~500,000 / monthPlenty for a portfolio or side project
1 MB (typical site)~100,000 / monthComfortable for a growing blog
3 MB (heavy images)~33,000 / monthFine until something goes viral
10 MB (video-heavy)~10,000 / monthConsider offloading media to a CDN or object storage

Page size dominates the math — compress your images and the same 100 GB stretches two to three times further.

Vercel vs Netlify vs traditional hosting: which beginner path fits?

Netlify is Vercel's closest rival and works the same way: Git-connected deploys, preview URLs, a generous free tier. Vercel is stronger for Next.js and framework-heavy apps (it builds Next.js natively); Netlify has a longer history with static sites and form handling. For a beginner, either is fine — pick the one whose dashboard you understand faster.

Traditional hosting (a cPanel shared plan or a VPS) is a different world: you manage the server, the SSL certificate, the deployments, and the updates yourself. That control is real — read what VPS hosting actually is to see what it buys you — but for a first deploy it is work you do not need. Vercel and Netlify exist precisely so beginners can skip the server part and ship.

5 Vercel mistakes beginners make

  1. Ignoring the build logs. When a deploy fails, the dashboard shows exactly which step broke — usually a missing dependency or a Node version mismatch. Read the log before changing anything.
  2. Committing secrets to Git. API keys in a public repo get scanned and abused within hours. Environment variables exist for this — use them from day one.
  3. Fighting the framework detection. If Vercel misdetects your framework, it is usually because the project structure is unusual (e.g. the app lives in a subfolder). Set the root directory in project settings instead of overriding the build command.
  4. Panicking at "Invalid Configuration." On a new custom domain this is the expected state before DNS propagates. Add the records, wait, and re-check — don't keep re-adding the domain.
  5. Treating Hobby like production. The hard usage caps and personal-use terms make Hobby a launchpad, not a forever home for anything commercial. Know the line before you cross it.

Sources

  • Vercel pricing page (vercel.com/pricing, checked 2026-10-29) — Hobby limits: 100 GB/month fast data transfer, 1M function invocations, 10 GB deployment storage, unlimited deployments, instant rollback; Hobby for personal, non-commercial use; no additional usage purchases on Hobby.
  • Vercel docs, "Getting started with Vercel" (updated 2026-08-11) — CLI install (npm i -g vercel), vercel login, vercel and vercel --prod; dashboard deploy via the New Project page with GitHub/GitLab/Bitbucket; every push to the connected branch triggers a new deployment automatically.
  • Vercel docs, "Setting up a custom domain" (updated 2026-08-11) — add the domain in Settings → Domains; apex A record to the recommended IPv4 (knowledge base: 76.76.21.21); www CNAME to the project-specific target shown in the dashboard; SSL auto-provisioned after DNS verification; redirect apex ↔ www to avoid duplicate content.
  • Cyvora Studio, "How to Deploy on Vercel & Change a Custom Domain (2026 Guide)" (updated Oct 2026) — custom domains free on Hobby; "Invalid Configuration" is normal before DNS is configured; deploy + domain walkthrough.
  • SellingWithNas, "How to Deploy Your Website with Vercel for Free" (2026) — GitHub import flow, framework auto-detection, 30–90 second builds, yourproject.vercel.app default URL, auto redeploy on every push.
  • Justin Malinow, "Vercel Deployment Guide: From Local Development to Production" — CLI method reference (npm install -g vercel, vercel, vercel --prod), per-PR preview URLs, one-click rollbacks, Git-connected auto-deploys.

Frequently Asked Questions

Is Vercel really free?

Yes — the Hobby plan is free with no credit card, and it includes unlimited deployments, preview URLs, custom domains, and HTTPS. The limits are 100 GB of bandwidth and 1M function invocations per month, and it is for personal, non-commercial use. You cannot buy extra usage on Hobby, so growing or commercial projects move to Pro.

Do I need to know Git to use Vercel?

For the dashboard flow, yes — your project must be in a GitHub, GitLab, or Bitbucket repository, because Vercel deploys from your repo. You only need the basics (commit and push); this beginner GitHub guide covers them. The CLI can also deploy a local folder if you prefer.

What is the difference between a preview deployment and a production deployment?

A preview deployment is a live URL for a branch or pull request — used for testing and review. A production deployment is the site your main domain serves. Pushing to your production branch creates a production deployment; every other branch gets a preview. Merging a pull request promotes that code to production.

Can I use my own domain name with Vercel's free plan?

Yes. Custom domains are free on Hobby — you only pay your registrar for the domain itself. Add it under Project Settings → Domains, add the DNS records Vercel shows you (an A record of 76.76.21.21 for the apex, a CNAME for www), and Vercel provisions the SSL certificate automatically.

What happens if my deploy fails?

Open the failed deployment in the dashboard and read the build log — it almost always names the cause (a missing dependency, a wrong Node version, or a failed command). Fix it in your code, push again, and Vercel redeploys. If a broken build somehow reaches production, roll back to the previous deployment in one click.