← Back to Documentation
Deploy to Netlify
Netlify is one of the easiest platforms to deploy static sites. With automatic SSL, continuous deployment, and seamless custom domain integration, you can have your launchpage live in minutes.
Why Netlify?
- Zero configuration - Works out of the box for static sites
- Automatic SSL - Free HTTPS certificates via Let's Encrypt
- Global CDN - Fast loading times worldwide
- Continuous deployment - Auto-deploy on Git push
- Multiple domains - Host unlimited custom domains on one site
Prerequisites
- A Netlify account (free tier available at netlify.com)
- Your Launchpage.xyz repository on GitHub, GitLab, or Bitbucket
- A registered domain name
Method 1: Deploy via Netlify UI
The easiest way to deploy is through Netlify's web interface:
- Go to netlify.com and sign up or log in
- Click "Add new site" → "Import an existing project"
- Connect to your Git provider (GitHub, GitLab, or Bitbucket)
- Select the
launchpage.xyz repository
- Configure build settings:
- Build command: (leave empty)
- Publish directory:
. (root directory)
- Click "Deploy site"
Your site will be live at a Netlify subdomain (e.g., random-name-123.netlify.app) within seconds!
Method 2: Deploy via Netlify CLI
For command-line enthusiasts, use the Netlify CLI:
# Install Netlify CLI globally
npm install -g netlify-cli
# Navigate to your project directory
cd launchpage.xyz
# Login to Netlify
netlify login
# Deploy to production
netlify deploy --prod
Follow the prompts to create a new site or link to an existing one. The CLI will upload your files and provide a live URL.
Add Your Custom Domain
Now let's connect your custom domain to the deployed site:
- In your Netlify dashboard, select your site
- Go to "Site settings" → "Domain management"
- Click "Add custom domain"
- Enter your domain (e.g.,
example.com)
- Configure DNS at your domain registrar:
- Option A (Recommended): Add an A record pointing to Netlify's load balancer IP (displayed in your Netlify dashboard)
- Option B: Add a CNAME record pointing to
your-site.netlify.app
- Wait for DNS propagation (typically 5-30 minutes)
- Netlify will automatically provision an SSL certificate (HTTPS)
Pro Tip: You can add multiple custom domains to the same Netlify site. This is perfect if you have several domains and want them all to display the same launchpage!
Adding Multiple Domains
Want to use the same launchpage for multiple domains? Simply repeat the custom domain process:
- In "Domain management", click "Add custom domain" again
- Enter your second domain (e.g.,
another-domain.com)
- Configure DNS for this domain the same way
- Netlify will handle SSL for this domain too
All domains will serve the same content, and the page will automatically detect and display the correct domain name!
Enable HTTPS
HTTPS is automatic with Netlify! Once your domain is connected and verified:
- Go to "Site settings" → "Domain management" → "HTTPS"
- Verify that SSL certificate is provisioned (usually happens automatically)
- Enable "Force HTTPS" to redirect all HTTP traffic to HTTPS
Continuous Deployment
One of Netlify's best features is automatic deployment on Git push:
- Every time you push to your connected Git branch, Netlify automatically rebuilds and deploys
- View deployment history and rollback to previous versions in the Netlify dashboard
- Deploy previews for pull requests (available on all plans)
Environment Variables (Optional)
If you need to configure environment-specific settings:
- Go to "Site settings" → "Environment variables"
- Add any variables your project needs
- Redeploy your site for changes to take effect
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 Netlify:
<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
- Use a DNS checker tool to confirm propagation
- Wait up to 48 hours for full DNS propagation (usually much faster)
SSL certificate issues?
- Ensure DNS is properly configured and propagated
- Try clicking "Renew certificate" in Domain settings
- Check that your domain isn't proxied through Cloudflare (or configure Cloudflare DNS-only mode)
Site not updating after push?
- Check the "Deploys" tab for build status and errors
- Verify your Git repository is connected
- Trigger a manual deploy if needed
Need help? Open an issue on GitHub or check the Netlify documentation.
← Back to Documentation