> For the complete documentation index, see [llms.txt](https://docs.genvibe.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.genvibe.pro/integrations/netlify.md).

# Netlify

Publish your web app to the internet with a live URL using Netlify.

{% hint style="info" %}
Don't want to manage a Netlify account? You can publish to a live link in one click with **GenVibe hosting** instead, and connect a custom domain right from GenVibe on any paid plan. See [Deploying your app](/features/deployment.md).
{% endhint %}

## Connect

From the deploy menu, connect your **Netlify** account and authorize GenVibe.

## Deploy

Click deploy. GenVibe builds your app and publishes it to Netlify, then gives you a live URL you can share immediately. Re-deploying after changes keeps the same URL.

## Add a custom domain in Netlify

Because your deployed app is a standard Netlify site, you add a domain through the **Netlify dashboard**:

1. Open your site in Netlify → **Domain management** (or **Site configuration → Domain management**).
2. Click **Add a domain** and enter your domain (e.g. `yourbusiness.com`). Netlify adds both `yourbusiness.com` and `www.yourbusiness.com`.
3. Point your domain's DNS at Netlify. You have two options:
   * **Use Netlify DNS (easiest):** follow Netlify's prompt to switch your domain's **nameservers** to the ones Netlify gives you, in your registrar's dashboard. Netlify then manages your DNS and SSL automatically.
   * **Keep your current DNS:** in your registrar, add the records Netlify shows — typically a **`CNAME`** for `www` pointing to your Netlify site (e.g. `your-site.netlify.app`), and for the root domain either an **A record** to Netlify's load balancer IP or an **ALIAS/ANAME** to your Netlify site (whichever your provider supports).
4. Save the DNS changes and wait for them to propagate (minutes to a few hours).
5. Back in Netlify, once the domain verifies, enable **HTTPS** — Netlify provisions a free Let's Encrypt certificate automatically.
6. Optionally set your **primary domain** (e.g. force `www` or the bare domain) under Domain management.

{% hint style="info" %}
DNS changes can take up to 24–48 hours to fully propagate, though they're usually live within minutes. Netlify's dashboard shows the status of each domain and its SSL certificate.
{% endhint %}

For provider-specific steps, see Netlify's own guide: [Netlify custom domains](https://docs.netlify.com/domains-https/custom-domains/).

## Troubleshooting deploys

* If a deploy fails, check that the app runs cleanly in the GenVibe preview first.
* Make sure any required environment variables (for example, Supabase keys) are set in your Netlify site settings.

{% content-ref url="/pages/v2xtseHfDb7j0sFa2K8z" %}
[Fixing errors](/guides/fixing-errors.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.genvibe.pro/integrations/netlify.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
