---
title: "Sites"
description: "Deploy static, SSR, and CSR web apps with Appwrite Sites. Git-based deploys, preview URLs, instant rollbacks, custom domains, and Appwrite backends."
canonical: "https://appwrite.io/products/sites"
---

# Deploy web apps from Git in minutes

Ship static, SSR, and client-rendered frontends with automatic builds, branch previews, and Appwrite services connected behind the scenes.

[Start building](https://appwrite.io/sign-up?redirect=%2F)[View docs](https://appwrite.io/docs/products/sites)

acme.appwrite.network

Live

![nextjs](https://appwrite.io/icons/nextjs.svg)

Build logs

44s

* Cloning repository2s
* Building38s
* Deploying4s
* Ready

main a1b2c3d

feat: launch page

acme.com

Verified

Framework presets

14

Push to deploy

Git

Branch URLs

Preview

Rollbacks

Instant

CDN + TLS

Edge

Deploy with the framework your team already uses

* ![tanstack-start](https://appwrite.io/icons/tanstack.svg)
* ![nextjs](https://appwrite.io/icons/nextjs.svg)
* ![nuxt](https://appwrite.io/icons/nuxt.svg)
* ![sveltekit](https://appwrite.io/icons/svelte.svg)
* ![angular](https://appwrite.io/icons/angular.svg)
* ![remix](https://appwrite.io/icons/remix.svg)
* ![react](https://appwrite.io/icons/react.svg)
* ![vue](https://appwrite.io/icons/vue.svg)
* ![vite](https://appwrite.io/icons/vite.svg)
* ![analog](https://appwrite.io/icons/analog.svg)
* ![astro](https://appwrite.io/icons/astro.svg)
* ![flutter](https://appwrite.io/icons/flutter.svg)
* ![react-native](https://appwrite.io/icons/react-native.svg)
* ![vanilla](https://appwrite.io/icons/js.svg)

## Deploy from Git with preview URLs

Connect GitHub or Origin and ship on every push. Commits to your production branch build and auto-activate on your primary domain; other branches get preview links for org members to review before merge.

Supported Git providers

GitHubOriginGitLabGiteaForgejoGogsBitbucket

GitLab, Bitbucket, Gitea, and more coming soon.

[Deploy from Git docs](https://appwrite.io/docs/products/sites/deploy-from-git)

main

4e1f2a9

ProductionActive

acme.io

feat/pricing

9f8e7d6

PreviewReady

feat-pricing-9f8e7d6.appwrite.network

![](https://appwrite.io/icons/appwrite.svg)

appwrite bot · 2m ago

Pull request #42

![](https://appwrite.io/icons/appwrite.svg)

Appwrite Sites

marketing-site

ReadyView LogsPreview URL

## Deploy the way your team works

Use Git for automatic builds on push, the Appwrite CLI in CI, or a manual tarball upload from the Console. Every path runs through the same build pipeline, logs, domains, and rollbacks.

### Git

Connect a repository for automatic builds on push, branch previews, and production deploys.

$ git push origin main

### CLI

Deploy from CI or your terminal with the Appwrite CLI and appwrite.config.json.

$ appwrite push sites

### Manual upload

Package your source as .tar.gz and upload from the Console when you need a one-off deploy.

marketing-site.tar.gz

BuildLogsDomainsRollback

[Deployments docs](https://appwrite.io/docs/products/sites/deployments)

## Static and SSR hosting

Host static sites, SPAs, and PWAs alongside server-rendered apps. Choose the rendering mode that fits your framework, from Vite and Astro to Next.js 16, Nuxt, SvelteKit, and TanStack Start.

[Rendering docs](https://appwrite.io/docs/products/sites/rendering)

Rendering modes

acme.io/\*

Static, SPA, and PWA

Pages built at deploy time. Fast cold starts for Vite, Astro, React, and Vue.

GET /docs8msHit

Server-side rendering

Render on every request at the edge. Runtime env vars and framework-native 404 pages.

GET /dashboard118msMiss

Hybrid apps are supported too. Frameworks like Next.js, Nuxt, and SvelteKit can mix static pages with server-rendered routes in the same site.

## Build and deploy faster

Spend less time waiting on builds and more time shipping updates. Cached dependencies speed up repeat deploys, path filters help monorepos skip unnecessary rebuilds, and deployment retention automatically removes old inactive deployments to save storage. Tune build and runtime CPU and memory when compilation or SSR needs more headroom.

[Deploy from Git docs](https://appwrite.io/docs/products/sites/deploy-from-git)

Deployments

Duration

67abc12fActive24s

Cache hit

89def45a28s

Cache hit

12ab34cd1m 12s

Build

Path filters

apps/web/\*\*

apps/docs/\*\*Skipped

pnpm store restored 1.2s

Deployment retention

30 days

Specification

CPU2 vCPUMemory4 GB

## Instant rollbacks

Switch the active deployment with zero downtime and no rebuild. Pick any previous ready deployment from Overview in the Console and promote it in one click when you need to recover fast.

[Instant rollbacks docs](https://appwrite.io/docs/products/sites/instant-rollbacks)

Production

acme.io

v1.4.2 · main

Active now · 2h ago

Active

v1.4.1 · main

Ready · yesterday

Rollback

v1.4.0 · main

Ready · 3 days ago

Ready

Promote a previous deployment without rebuilding.

## Delivered on Appwrite Network

Every site runs on Appwrite Network. Auth, Databases, and Storage stay in your project region while pages and assets reach users from the edge.

Global CDNDDoS protectionTLS encryptionEdge SSR

[Appwrite Network docs ](https://appwrite.io/docs/products/network)

PoP locationsEdgesRegions

## Connect hostnames to your site

Point production at your live deployment, give staging branches their own domain, or configure redirects. Every site also gets a generated .appwrite.network URL for instant sharing.

[Domains docs](https://appwrite.io/docs/products/sites/domains)

Marketing site

67abc12f

acme.io

Production

Active deployment

64d4d22d.appwrite.network

Live

Generated · active deployment

staging.acme.io

Staging

Git branch · staging

www.acme.io

Redirect

acme.io

## Buy domains and manage DNS

Purchase domains in Appwrite and manage records with Appwrite DNS from the Console. TLS is issued automatically when you connect a hostname.

### Buy domain

Register a domain in Appwrite without leaving the Console.

acme.devAvailable

### Appwrite DNS

Manage A, CNAME, TXT, and other records in one place.

A@76.76.21.21

CNAMEwwwacme.dev

### Automatic TLS

Certificates are issued when a hostname is verified.

acme.devVerified

[Appwrite DNS docs](https://appwrite.io/docs/products/network/dns)[Appwrite Domains docs](https://appwrite.io/docs/products/domains)

## Logs, traffic, and usage insights

Track requests, bandwidth, builds, and compute over time with breakdowns by path, asset type, or region. Inspect individual requests with status, headers, and SSR console output in the same view.

[Logs docs](https://appwrite.io/docs/products/sites/logs)

Traffic

Last 30 days

Oct 22Nov 5Nov 20

Top paths

/

42%

/pricing

18%

/docs

11%

Request logs

Live

200GET/pricing124ms

304GET/assets/logo.svg8ms

200POST/api/contact342ms

404GET/old-blog/post12ms

500GET/dashboard1.2s

Request details

200GET

Path

/pricing

Duration

124ms

Region

US East

Cache

Miss

SSR output

GET /pricing 200 · Rendered in 118ms
[console] Loaded 12 products from catalog
[console] Cached pricing tiers for 5m

## Framework quick-starts and templates

Start from official quick-starts or pick a template in the create wizard. Filter by framework and use case, connect GitHub or Origin, and deploy with build settings already tuned for Appwrite.

[Templates docs](https://appwrite.io/docs/products/sites/templates)

Create siteClone template

Deploy from Git

Build command

npm run build

## Tools built for developers and agents

API-first by design. Use the Console, Realtime, SDKs, CLI, Terraform, MCP, and agent skills on the same project.

Developer and agent experience

A typical integration in TypeScript.

TypeScript

```
import { Client, Sites } from 'appwrite';
const client = new Client()  .setEndpoint('https://<REGION>.cloud.appwrite.io/v1')  .setProject('<PROJECT_ID>');
const sites = new Sites(client);
const deployment = await sites.createDeployment({  siteId: 'marketing-site',  code: tarball,  activate: true,});
```

[Everything is an APIREST, GraphQL, and SDKs for every service. Automate and integrate without console-only workflows.](https://appwrite.io/docs/apis/rest)[ConsoleManage every service in your project from a unified Console. Optimized keyboard access and a Command Center keep you moving fast.⌘KCommand Center](https://appwrite.io/docs/tooling/command-center)[RealtimeSubscribe to live events and react to changes as they happen.sites.\*.deployments.\*sites.\*.deployments.\*.create](https://appwrite.io/docs/apis/realtime)[MCPConnect AI agents to your Appwrite project, APIs, and docs through one remote MCP server.appwrite https://mcp.appwrite.io](https://appwrite.io/docs/tooling/ai/mcp-servers)[TerraformManage Appwrite infrastructure as code with the official provider.terraform plan terraform apply](https://appwrite.io/docs/tooling/terraform/resources/sites)[Agent skillsGive AI agents SDK-accurate knowledge of Appwrite services and APIs.npx skills add appwrite/skills](https://appwrite.io/docs/tooling/ai/skills)[SDKsClient and server SDKs for the platforms your team already uses. 15 official SDKs available across client and server runtimes.](https://appwrite.io/docs/sdks)[CLIDeploy resources, manage projects, and generate typed SDKs from your terminal.appwrite login appwrite deploy](https://appwrite.io/docs/tooling/command-line/installation)

## FAQ

### 

Sites supports popular frameworks including Next.js, Nuxt, SvelteKit, Astro, Vue, TanStack Start, Remix, Angular, React, and more. Static hosting works with any framework that outputs HTML assets; SSR is available for supported server-rendered stacks. See the frameworks page for build settings per preset.

[Frameworks](https://appwrite.io/docs/products/sites/frameworks)[Quick start](https://appwrite.io/docs/products/sites/quick-start)

### 

Yes. Push deployments with the Appwrite CLI from CI or your machine, or upload a .tar.gz archive from the Console for manual deploys. Git remains the recommended path for automatic builds on push and branch previews, but every deploy method uses the same build pipeline and settings.

[Deploy from CLI](https://appwrite.io/docs/products/sites/deploy-from-cli)[Deploy manually](https://appwrite.io/docs/products/sites/deploy-manually)

### 

Yes. Usage charts show requests, bandwidth, builds, and compute over selectable ranges, with breakdowns to see where traffic comes from. The Logs tab records every request with status code, method, path, and duration. Open a log entry for request and response headers. For SSR sites, console.log and console.error output appears in response logs.

[Site logs](https://appwrite.io/docs/products/sites/logs)

### 

Yes. Add multiple domain rules on a site: point one hostname to the active production deployment, map another to a specific Git branch for staging, or configure redirects. Branch and commit preview URLs are also generated automatically for Git deployments.

[Site domains](https://appwrite.io/docs/products/sites/domains)

### 

When you push to a branch other than your production branch, Appwrite builds a deployment but does not activate it on your primary domain. Instead, a preview URL is generated for org members to review. Pull requests can also receive preview links and optional PR comments unless silent mode is enabled.

[Previews](https://appwrite.io/docs/products/sites/previews)[Deploy from Git](https://appwrite.io/docs/products/sites/deploy-from-git)

### 

Static and SPA hosting serves pre-built assets at the edge with fast cold starts. SSR runs your framework on each request, which suits dynamic or user-specific pages and gives you runtime access to environment variables. Many frameworks support both modes in the same app.

[Rendering](https://appwrite.io/docs/products/sites/rendering)[Static hosting](https://appwrite.io/docs/products/sites/rendering/static)[SSR hosting](https://appwrite.io/docs/products/sites/rendering/ssr)

### 

Build workers restore a dependency cache at the start of each deployment, so package installs on unchanged lockfiles finish in seconds instead of minutes. Path filters and root directory settings let Turborepo monorepos skip builds when unrelated packages change. Deployment retention automatically deletes inactive deployments after a period you choose, so preview builds do not pile up and consume storage. You can also tune build and runtime CPU and memory in site settings when compilation or SSR needs more headroom.

[Deploy from Git](https://appwrite.io/docs/products/sites/deploy-from-git)[Deployment retention](https://appwrite.io/docs/products/sites/deployments#deployment-retention)

### 

Instant rollbacks change which ready deployment is served to visitors. They do not delete, modify, or rebuild your code, so recovery is near-instant with zero downtime. Open your site Overview in the Console, click Instant Rollback, and promote a previous deployment.

[Instant rollbacks](https://appwrite.io/docs/products/sites/instant-rollbacks)

### 

Yes. Purchase domains from your organization Domains tab and manage records with Appwrite DNS in the same Console. Connect the domain to a site for automatic TLS, or use the generated .appwrite.network URL while you set up DNS. Apex domains can delegate to Appwrite nameservers; subdomains use CNAME records. Sites traffic is delivered through Appwrite Network with CDN, DDoS protection, and Firewall.

[Site domains](https://appwrite.io/docs/products/sites/domains)[Appwrite DNS](https://appwrite.io/docs/products/network/dns)[Firewall](https://appwrite.io/products/firewall)

### 

Sites run on Appwrite Network with global CDN delivery, DDoS protection, Firewall, and TLS encryption. SSR workloads can execute closer to users at the edge while Auth, Databases, Storage, and other project services stay in your selected region.

[Sites overview](https://appwrite.io/docs/products/sites)[Appwrite Network](https://appwrite.io/docs/products/network)[Firewall](https://appwrite.io/products/firewall)

### 

Yes. Browse templates from Sites > Templates in the Console and filter by framework or use case. The create wizard walks you through GitHub or Origin setup, production branch, environment variables, and domain configuration. Official quick-starts cover Next.js, Nuxt, SvelteKit, Astro, Vue, TanStack Start, and more.

[Templates](https://appwrite.io/docs/products/sites/templates)[Quick start](https://appwrite.io/docs/products/sites/quick-start)

### 

Yes. Sites deploy in the same project as Auth, Databases, Storage, Functions, and Messaging. Use environment variables for API keys and endpoints, then call Appwrite SDKs from your frontend or SSR routes without managing separate infrastructure.

[Environment variables](https://appwrite.io/docs/products/sites/environment-variables)[Develop locally](https://appwrite.io/docs/products/sites/develop)

## Start building with Sites

Connect a repository and deploy your first frontend alongside your Appwrite backend.

[Start building](https://appwrite.io/sign-up?redirect=%2F)[View pricing](https://appwrite.io/pricing)

## Explore Appwrite

Modular backend services that share the same project, permissions model, and console.

[AuthEmail, OAuth, SMS, MFA, teams, and sessions.](https://appwrite.io/products/auth)

[DatabasesManaged PostgreSQL, TablesDB, DocumentsDB, VectorsDB, MySQL.](https://appwrite.io/products/databases)

[PostgreSQLManaged PostgreSQL with pooling, replicas, and PITR.](https://appwrite.io/products/postgres)

[StorageUpload, transform, and deliver files on CDN.](https://appwrite.io/products/storage)

[FunctionsAPIs, cron jobs, and event handlers at scale.](https://appwrite.io/products/functions)

[MessagingEmail, SMS, and push with topics and targets.](https://appwrite.io/products/messaging)

[RealtimeLive events, channels, and presence.](https://appwrite.io/products/realtime)

[SitesStatic, SSR, and CSR deploys from Git.](https://appwrite.io/products/sites)

[DomainsSearch, buy, transfer, and manage domains.](https://appwrite.io/domains)

[FirewallProject rules to deny, rate limit, and redirect traffic.](https://appwrite.io/products/firewall)

### 

### 

### 

### 

### 

### 

[](https://github.com/appwrite)[](https://x.com/appwrite)[](https://www.linkedin.com/company/appwrite/)[](https://www.instagram.com/appwrite.io/)[](https://appwrite.io/discord)[](https://apwr.dev/dailydev)

[SOC 2 Type II Certified](https://appwrite.io/docs/advanced/security)

© 2026 Appwrite
