> ## Documentation Index
> Fetch the complete documentation index at: https://www.magicpatterns.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish your site

> Publish a MagicOS prototype to a live URL, then update or unpublish it

> [!NOTE]
>
> A custom `magicpatterns.app` URL needs a paid plan. [Upgrade
> here](https://www.magicpatterns.com/dashboard?dl=billing).

Publishing puts your prototype on a live site. **Select your prototype** in the left window pane. Click the three dots and select publish.

By default, Magic Patterns assigns a random website address. You can replace it with a name you choose. If you want `my-portfolio`, the site is live at `project-my-portfolio.magicpatterns.app`.

## Publish

**1. Select your prototype in the left window pane.**

Click the three dots and select publish.

![The prototype menu with Publish selected](https://cdn.magicpatterns.com/uploads/8s6tDv821buzMGAfbQRe6u/Publish.png)

**2. Choose where to publish**

Choose **Magic Patterns Link** or **Custom domain**.

**Magic Patterns Link:**

1. Under **Published URL**, type a name for your link, or keep the one we suggest.
2. Under **Who can view it**, choose who can open your design.
3. To add a password, turn on **Require password**.

![The Publish window with Magic Patterns Link selected](https://cdn.magicpatterns.com/uploads/meA9g2NiBasQkpPXvfVb8P/CleanShot_2026-11-10_at_11.11.08_PM2x.png)

**Custom domain:**

1. Choose **Root domain** (like `example.com`) or **Subdomain** (like `design.example.com`).
2. Type your domain.
3. Copy the record shown, and add it where you bought your domain, like GoDaddy, Namecheap, or Cloudflare. Click **Step-by-step guide** for help.

![The Publish window with Custom domain selected](https://cdn.magicpatterns.com/uploads/itrqoNWQBf9yG6BWEFQeJF/CleanShot_2026-11-10_at_11.10.34_PM2x.png)

**3. Publish**

Click **Publish**, or **Connect and publish** if you're using a custom domain. Your design goes live straight away.

## After you publish

A window opens with your live link. Click **Copy again** to copy it, or **Open** to view your site.

![The window that opens after you publish, showing your live link and link settings](https://cdn.magicpatterns.com/uploads/bZ4biwVdfDRN322gm1mqU8/live.png)

Open **Link settings** to change your site at any time. Changes apply straight away.

* **Live or Pinned:** choose **Live** to update your site as you work, or **Pinned** to keep it as it is now.
* **Who can view it:** choose who can open your site.
* **Require password:** turn this on to ask visitors for a password.
* **Published URL:** change your link. Your old link stops working once you save.
* **Custom domain:** click **Connect a domain** to use your own domain.
* **Title and preview:** click the card at the bottom to set how your site appears in browser tabs and link previews.

To take your site offline, click **Unpublish**.

## Next

* [Connect a custom domain](https://www.magicpatterns.com/docs/documentation/get-started/custom-domain.md) when you want an address you own, not a `magicpatterns.app` address.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.