Docs/Features/Publishing

Publishing

Updated Mar 30, 2026Features

Deploy your project to *.xaio.app with one click.

One-Click Publishing

Click Publish in the toolbar to deploy your project live. Your site is available at yourname.xaio.app with automatic HTTPS.

How Publishing Works

Website projects:

1. Dependencies are installed (npm install)

2. Production build is created (Vite)

3. Static files are uploaded to a global CDN

4. Site is live within seconds

Web App projects:

1. Frontend is built and deployed to CDN

2. Backend is packaged and deployed as a managed service

3. Database migrations run automatically (if PostgreSQL is enabled)

4. API is available at yourname.xaio.app/api/

Choosing a Subdomain

On first publish, choose your subdomain. It stays the same for all future updates. Subdomains must be unique across all XAIO users.

Updating Your Site

Click Publish again after making changes. Only changed files are updated — the process takes just a few seconds. The previous version is replaced immediately.

XAIO Cloud vs XAIO Private

  • XAIO Cloud — Managed hosting on *.xaio.app (default)
  • XAIO Private — Self-hosted option for teams that need to run on their own infrastructure

SEO & Performance

The AI generates proper HTML structure for search engines:

  • Semantic HTML tags (header, main, footer, nav)
  • Meta tags and Open Graph tags
  • Responsive images with lazy loading
  • Fast loading with code splitting and CDN delivery

Build Errors

If the build fails during publish, XAIO automatically attempts to fix the error using AI (up to 2 retries). If it still fails, you see the error message and can ask the AI to fix it in the chat.