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

# How to publish your app

> Publish your Hercules app to make it live. Click Publish, pick a subdomain, and go live in seconds. Republish to ship new versions.

Publishing makes your app live on the internet. Every app gets a free `[myapp].onhercules.app` domain, and you can add a custom domain anytime.

<div className="screenshot peach">
  <img src="https://mintcdn.com/zeus-0f6dadbf/vyfZOWPi9KdyCPiO/images/apps/publish-add-a-domain.png?fit=max&auto=format&n=vyfZOWPi9KdyCPiO&q=85&s=4537a19f70d2e7fe505956e583fc7c7b" alt="Publish dialog with a custom subdomain" width="844" height="566" data-path="images/apps/publish-add-a-domain.png" />
</div>

### How do I publish my app?

Click **Publish** in the top right corner of the App Builder, then enter a subdomain name.

On a phone, tap **Preview** at the bottom of the screen first. The **Publish** button then appears at the top.

### How do I publish a new version?

Click **Publish** again to ship your latest changes. Your app is not updated until you republish.

### How do I publish to my own domain?

<CardGroup cols={2}>
  <Card title="Buy a domain in Hercules" icon="cart-shopping" horizontal href="/docs/apps/publish/buy-domain" arrow />

  <Card title="Connect an existing domain" icon="globe" horizontal href="/docs/apps/publish/connect-existing-domain" arrow />
</CardGroup>

## Additional FAQ

<AccordionGroup>
  <Accordion title="How do I unpublish my app?">
    Click **Publish** in the top right corner, then click the pencil icon next to your subdomain.
    This takes your app offline until you republish.
  </Accordion>

  <Accordion title="I don't see the Publish button">
    1. On a phone, tap **Preview** at the bottom of the screen. The **Publish** button appears at
       the top. 2. On a computer, the **Publish** button is in the top right corner of the App Builder.
    2. If it is still missing, refresh the page (Ctrl+Shift+R on Windows, Cmd+Shift+R on Mac).
  </Accordion>

  <Accordion title="I am not seeing my published site">
    1. Check that you published the latest version. 2. Check that it is not flagged as spam. See
       [Free Hercules subdomain](/docs/apps/publish/hercules-domain) for antivirus and spam issues.
  </Accordion>
</AccordionGroup>
