← 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?

Prerequisites

Method 1: Deploy via Netlify UI

The easiest way to deploy is through Netlify's web interface:

  1. Go to netlify.com and sign up or log in
  2. Click "Add new site""Import an existing project"
  3. Connect to your Git provider (GitHub, GitLab, or Bitbucket)
  4. Select the launchpage.xyz repository
  5. Configure build settings:
    • Build command: (leave empty)
    • Publish directory: . (root directory)
  6. 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:

  1. In your Netlify dashboard, select your site
  2. Go to "Site settings""Domain management"
  3. Click "Add custom domain"
  4. Enter your domain (e.g., example.com)
  5. 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
  6. Wait for DNS propagation (typically 5-30 minutes)
  7. 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:

  1. In "Domain management", click "Add custom domain" again
  2. Enter your second domain (e.g., another-domain.com)
  3. Configure DNS for this domain the same way
  4. 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:

  1. Go to "Site settings""Domain management""HTTPS"
  2. Verify that SSL certificate is provisioned (usually happens automatically)
  3. Enable "Force HTTPS" to redirect all HTTP traffic to HTTPS

Continuous Deployment

One of Netlify's best features is automatic deployment on Git push:

Environment Variables (Optional)

If you need to configure environment-specific settings:

  1. Go to "Site settings""Environment variables"
  2. Add any variables your project needs
  3. 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?

SSL certificate issues?

Site not updating after push?

Other Deployment Platforms


Need help? Open an issue on GitHub or check the Netlify documentation.

← Back to Documentation