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

# Publish to Web

> Publish your Rey app as a mobile-first web app accessible by URL — no App Store submission, no developer account, and updates go live instantly.

Web publishing deploys your Rey app as a mobile-first web app that anyone can open in a browser. There's no App Store submission, no review process, and no developer account required — just click **Publish** and Rey hands you a shareable URL. It's the fastest way to put your app in front of real users.

## When to Use Web Publishing

Web publishing is a great fit for a variety of scenarios:

* **Beta testing** — share a URL with early users and gather feedback before your App Store launch
* **Broad reach** — let users access your app on any device without requiring an install
* **Web-only products** — launch a version of your app that lives entirely on the web
* **Internal tools** — share a link with your team or stakeholders for reviews and sign-off

## Deploy Your App to the Web

<Steps>
  <Step title="Open the Publish dialog in your Rey project">
    Click the **rocket icon** in the top toolbar to open the Publish dialog.
  </Step>

  <Step title="Select Web as the target">
    Choose **Web** from the list of publishing targets.
  </Step>

  <Step title="Configure your domain (optional)">
    By default, Rey assigns a subdomain under `reyapp.io`. You can customize the subdomain here, or connect your own custom domain if your plan supports it.
  </Step>

  <Step title="Click Publish">
    Rey builds and deploys your app. When the process completes, you'll see your live URL — ready to share immediately.
  </Step>
</Steps>

## What the Web Version Includes

Your published web app is not a stripped-down preview — it's the full app experience, including:

* Every screen and navigation flow you've built in Rey
* All interactions, animations, and gestures adapted for touch and mouse input
* Live data reads and writes from all connected data sources
* The same layouts your mobile users see, optimized for mobile browsers

<Note>
  Web publishing doesn't require an Apple Developer account or a Google Play Developer account. You can publish to the web at any time, independently of your App Store or Play Store submissions.
</Note>

## Custom Domains

Connect your own domain (for example, `app.yourcompany.com`) instead of using a Rey subdomain.

<Steps>
  <Step title="Enter your custom domain in Rey's Publish settings">
    Type your domain in the **Custom Domain** field and save.
  </Step>

  <Step title="Add a CNAME record in your DNS settings">
    In your domain registrar or DNS provider, create a `CNAME` record pointing your subdomain to the hostname Rey provides. Rey displays the exact target hostname after you enter your domain.
  </Step>

  <Step title="Wait for DNS propagation">
    DNS changes typically propagate within a few minutes, but can take up to 48 hours depending on your provider.
  </Step>
</Steps>

<Tip>
  Custom domains are available on higher-tier plans. Check your plan's feature list in Rey's account settings if the custom domain field isn't visible.
</Tip>

## Publishing Updates

Republish any time you make changes in the Rey editor. Click the **rocket icon → Web → Publish** again and Rey deploys your latest changes. Updates go live immediately — there's no review queue and no waiting.

<AccordionGroup>
  <Accordion title="Will republishing break the existing URL?">
    No. Your URL stays the same every time you republish. Users who already have the link can simply refresh their browser to see the latest version.
  </Accordion>

  <Accordion title="Can I unpublish my web app?">
    Yes. Click the **rocket icon** in the top toolbar, select the Web target, and click **Unpublish**. The URL will stop serving your app immediately.
  </Accordion>

  <Accordion title="Do web and mobile share the same data?">
    Yes. Your web app connects to the same data sources as your mobile app. Users see consistent data regardless of which platform they're on.
  </Accordion>
</AccordionGroup>
