← Back to Documentation
Deploy to Vercel
Vercel offers blazing-fast deployment with automatic SSL, edge network optimization, and seamless Git integration. Deploy your launchpage globally in seconds.
Why Vercel?
- Lightning fast - Edge network with global CDN
- Zero config - Auto-detects static sites
- Instant deployment - Deploy in seconds, not minutes
- Automatic SSL - Free HTTPS for all domains
- Git integration - Deploy on every push
- Preview deployments - Unique URL for every Git branch
Prerequisites
- A Vercel account (free tier available at vercel.com)
- Your Launchpage.xyz repository on GitHub, GitLab, or Bitbucket
- A registered domain name
Method 1: Deploy via Vercel UI
The quickest way to get started with Vercel:
- Go to vercel.com and sign up or log in
- Click "Add New" → "Project"
- Import your Git repository:
- Connect your GitHub, GitLab, or Bitbucket account
- Select the
launchpage.xyz repository
- Vercel will automatically detect it as a static site:
- Framework Preset: Other (auto-detected)
- Build Command: (none needed)
- Output Directory:
. (root)
- Click "Deploy"
Your site will be live at a Vercel subdomain (e.g., launchpage-xyz.vercel.app) in seconds!
Method 2: Deploy via Vercel CLI
For developers who prefer the command line:
# Install Vercel CLI globally
npm install -g vercel
# Navigate to your project directory
cd launchpage.xyz
# Deploy to production
vercel --prod
The CLI will guide you through linking or creating a new project. Your site will be deployed instantly!
First-time CLI users: The first vercel command will prompt you to log in and configure your project. Subsequent deployments are instant.
Add Your Custom Domain
Connect your custom domain to your Vercel deployment:
- In your Vercel dashboard, select your project
- Go to "Settings" → "Domains"
- Click "Add" and enter your domain (e.g.,
example.com)
- Configure DNS at your domain registrar:
- Option A (Recommended): Add a CNAME record pointing to
cname.vercel-dns.com
- Option B: Add an A record to Vercel's IP address (shown in dashboard)
- For the www subdomain, add another CNAME:
www → cname.vercel-dns.com
- SSL is automatically provisioned (usually within minutes)
Example DNS Configuration
# At your domain registrar's DNS settings:
# Root domain
Type: A
Name: @
Value: 76.76.21.21
# www subdomain
Type: CNAME
Name: www
Value: cname.vercel-dns.com
Adding Multiple Domains
Want to serve the same launchpage on multiple domains?
- Go to "Settings" → "Domains"
- Click "Add" and enter your second domain
- Configure DNS for this domain the same way
- Repeat for as many domains as you need
Each domain will automatically get SSL, and the page will detect and display the correct domain name!
Automatic Deployments
Vercel automatically deploys your site on every Git push:
- Production deployments: Every push to your main branch
- Preview deployments: Every push to other branches gets a unique URL
- Deployment history: View and rollback to any previous deployment
- Instant rollbacks: Revert to a previous version in one click
Configure Production Branch
To change which branch triggers production deployments:
- Go to "Settings" → "Git"
- Under "Production Branch", select your preferred branch
- All other branches will create preview deployments
Environment Variables (Optional)
If you need environment-specific configuration:
- Go to "Settings" → "Environment Variables"
- Add variables for Production, Preview, or Development
- Redeploy for changes to take effect
Performance Features
Vercel automatically optimizes your launchpage:
- Edge Network: Content served from 70+ global locations
- Smart CDN: Automatic asset optimization and caching
- Brotli compression: Smaller file sizes for faster loading
- HTTP/2: Multiplexed connections for better performance
Analytics (Optional)
Enable Vercel Analytics to track page views and performance:
- Go to the "Analytics" tab in your project
- Click "Enable"
- Add the analytics script to your HTML (Vercel provides the code)
Note: Vercel Analytics is a paid feature on the free tier, but the basic Web Vitals dashboard is available for free.
Collect Emails/Waitlist
To collect email submissions from your launchpage, you'll need to set up a Cloudflare Worker. This allows you to store and access visitor submissions.
Follow our complete guide: Collect Emails/Waitlist →
After setting up the Worker, update the form action in your index.html before deploying to Vercel:
<form class="email-form" id="emailForm" method="POST"
action="https://YOUR-WORKER-URL.workers.dev">
Troubleshooting
Domain not connecting?
- Verify DNS records are correctly configured
- Check DNS propagation using tools like
whatsmydns.net
- Ensure there are no conflicting DNS records (remove old A/CNAME records)
- Wait up to 48 hours for full DNS propagation (usually much faster)
SSL certificate not provisioning?
- Ensure DNS is properly configured and propagated
- Check that your domain isn't proxied through Cloudflare (or use Cloudflare DNS-only mode)
- Try removing and re-adding the domain
Deployment failing?
- Check the deployment logs in your Vercel dashboard
- Ensure your repository is accessible to Vercel
- Verify there are no build errors (though launchpage.xyz requires no build)
Site not updating?
- Check the "Deployments" tab to see if new deployments are being triggered
- Verify the Git integration is still connected
- Try a manual deployment via the Vercel dashboard or CLI
CLI Tips
Useful Vercel CLI commands:
# Deploy to preview (not production)
vercel
# Deploy to production
vercel --prod
# List all deployments
vercel ls
# View deployment logs
vercel logs [deployment-url]
# Remove a deployment
vercel rm [deployment-url]
# Link local directory to Vercel project
vercel link
Need help? Open an issue on GitHub or check the Vercel documentation.
← Back to Documentation