# Netlify

> Put a website online and connect it to your code so publishing future edits can be as easy as saving a new version.

Web page: https://buildladder.com/tools/netlify

A community group might update its events page every Friday. Netlify takes the project’s files, builds the site when needed, and serves the result at a public address. Connecting a code repository lets that process run when the group updates the project.

Publish one event, then change its date in the source and check the new release. Open the public address on your phone to see the date exactly as a visitor would.

- Made by: Netlify
- Official site: https://www.netlify.com
- Cost: Free plan with 300 credits a month and hard limits, so you are never charged. Each live update uses 15 credits. Paid plans started at $9 a month on 2026-11-09.
- What you need first: A Netlify account.
- Who it helps: If your site sells something or is for a business and you want to start free. Netlify says its free plan allows that.
- When to skip it: If your site can’t risk a pause. On the free plan, all your sites pause until next month if you use up your credits.
- Updated: 2026-11-10

## Put your site online with Netlify

Put your website online with Netlify, straight from GitHub or GitLab. Each change you push then goes online by itself.

What you’ll end up with: Your site is online at a .netlify.app address. It updates each time you push to GitHub or GitLab, and can use your own domain.

### You’ll need

- A website that works on your computer.
- Your code saved on GitHub or GitLab.
- PLAN.md from the “Plan your idea” guide.
- Your .env file, if your product uses keys.
- A phone to check the live site.
- A domain you bought, only if you want your own address. Domains, under Concepts, explains whether you need one.
- GitHub or GitLab account (https://github.com): The free plan is enough
- Netlify account (https://www.netlify.com): Free to create

### Your part

- Create the Netlify account and connect GitHub or GitLab.
- Type your secret keys into Netlify’s settings.
- Make the site public, and add DNS records where you bought your domain, if you connect one.

### Step 1 of 5: Check your product before you put it online

Read PLAN.md in this folder. I want to put this product online with Netlify. My code is already saved on GitHub or GitLab, and Netlify will put it online from there.

If this folder isn’t connected to a GitHub or GitLab repository yet, stop and tell me. I’ll save it there first.

Check my product:
- Make sure .env and any other files with keys or passwords are listed in .gitignore, so Git never uploads them.
- Look through my saved Git history for keys or passwords saved earlier. If you find any, stop and explain. Those keys must be replaced with new ones first.
- Check that the product still builds and runs on my computer.
- Check Netlify’s current official docs for anything my framework needs to work there. Tell me before you change anything, and keep everything that already works.

If you change anything, ask me before you save a commit and push it.

Finally, list every environment variable my product needs. Show only the names, never the values. For each one, say whether it’s public (safe to show in the browser) or secret, and what it’s for.

It worked when: You have a list of the setting names your product needs, and your saved code holds no keys.

Before we move on, check with me:
- Open your repository on GitHub or GitLab. Is .env missing from the file list?

Keep for later: You need the list of setting names in “Add your secret settings”.

If something goes wrong:
- Your AI tool says the folder isn’t on GitHub or GitLab yet. Save your code to GitHub or GitLab first. Their tool pages have the steps. Then do this step again.
- Your AI tool found a key in your saved history. Make a new key in that service’s dashboard and delete the old one. Then ask your AI tool to help remove the old key from the history.

### Step 2 of 5: Create your account and connect your repository

This step is mine to do. Walk me through it, one action at a time:
- Go to netlify.com and sign up. Signing up with GitHub or GitLab, whichever holds your code, keeps things simple.
- On your Projects page, select Add new project, then choose Import an existing project.
- Choose GitHub or GitLab. Follow the prompts to let Netlify see your repository.
- Pick your repository from the list.
- Keep the build settings Netlify fills in. It detects most frameworks.
- Select Publish at the bottom to start.

It worked when: Netlify starts building your site, and you see a page for your new project.

If something goes wrong:
- The first build failed. That’s fine if your product needs secret settings. “Add your secret settings” adds them and starts a new deploy.
- Your repository isn’t in the list. Netlify may only see some of your repositories. Follow the prompt to give it access to this one.
- Your repository belongs to an organization or a group. Netlify’s free plan does not include organization-owned private repositories. Use a repository under your own GitHub username instead.

### Step 3 of 5: Add your secret settings

This step is mine to do. Walk me through it, one action at a time:
- If your list of setting names was empty, skip this step.
- In your project, go to Project configuration, then Environment variables.
- Add each name on your list exactly. Copy its value from your .env file.
- You can import your .env file here instead. Do that only if it holds just this product’s settings.
- Go to your project’s Deploys page and start a new deploy, so the site uses them. The button may say Trigger deploy.

It worked when: Every name from your list is added in Netlify, and a new deploy is running.

Before we move on, check with me:
- Count the names in Netlify. Does the number match your list?

If something goes wrong:
- You don’t have a value for one of the names. Ask your AI tool where that value comes from. It’s usually in another service’s dashboard, like your payments or database account.
- You’re worried about using up credits. Only live updates use credits. Previews are free. Save small changes up and put them online together.

### Step 4 of 5: Make it public and check it on your phone

This step is mine to do. Walk me through it, one action at a time:
- Wait for the deploy to finish. Your address ends in .netlify.app.
- If you see a Make public button, select it. It appears after your first successful deploy, and only when your team keeps new projects private.
- There, you can also change the project name. That changes the .netlify.app address too.
- Open the address on your phone, without signing in to Netlify.
- Try the main thing your site does, from start to finish.
- Write the address into PLAN.md so you can find it later.

It worked when: Your site opens on your phone at an address ending in .netlify.app, without signing in.

Before we move on, check with me:
- Does the main feature work on your phone too?

If something goes wrong:
- Your phone shows a page saying you don’t have access. The project is still private. Select Make public, or go to Project configuration, then General, then Visitor access.
- The build failed. Open the failed deploy on the Deploys page. Copy the build log into your AI tool and ask: “What does this mean, and how do I fix it?”
- Your site shows “Site not available”. Your free credits for this month are used up, so all your sites are paused. They come back when credits reset next month, or on a paid plan.

### Step 5 of 5: Connect your own domain

This step is optional. Ask me whether I want it, and skip it if I don’t.

This step is mine to do. Walk me through it, one action at a time:
- In your project, go to Domain management. If you see Production domains, open it.
- Use the option to add a custom domain. Choose an existing name if you already own it, or the purchase option to buy one through Netlify.
- Type your domain and follow the prompts. A domain bought through Netlify is set up for you.
- For a domain bought elsewhere, Netlify shows DNS records. Each one tells the internet where to send your visitors.
- Sign in where you bought the domain. Open its DNS settings and add each record exactly as Netlify shows it.
- If Netlify suggests the www version as your main address, accept. When your DNS stays with your domain seller, the www version loads faster.
- Update the address in PLAN.md to your new domain.

It worked when: Your site opens at your own domain, with a lock icon in the address bar.

Before we move on, check with me:
- Try it with and without www. Do both work?

If something goes wrong:
- The domain doesn’t work yet. DNS changes take time to reach everyone. Wait and check again. Compare your records with the ones Netlify shows in Domain management.
- It still doesn’t work after two days. Look for an older record with the same name at your domain seller. Remove it, or ask your AI tool to compare screenshots of both dashboards.

Compare Netlify with the other options: https://buildladder.com/concepts/hosting.md
