# Cipi Quickstart: guided paths

> Pick what you want to do and follow the steps: set up a VPS, deploy Laravel, WordPress or Symfony, cipi.yml, backups, alerts, the web panel, Cloudflare, wildcards and more. Real commands, explained for beginners.

URL: https://cipi.sh/quickstart · Last updated: 2026-11-30

Pick what you want to do, follow the steps. Every path uses the real commands, says where to type them, and links to the docs and guides when you want more.

## Cipi for dummies

Never run a server? Five ideas and you're in.

1. **A VPS is a computer you rent.** A server in a data center, always on, with its own address on the internet. A few euros a month at Hetzner, DigitalOcean, AWS or any provider.
2. **Cipi turns it into a host.** One command installs everything a website needs (web server, PHP, database, cache, firewall) and keeps it patched every night.
3. **Each app lives in its own box.** A Laravel app, a WordPress blog, a Symfony API: each gets its own user, database and HTTPS certificate. One can't touch the other.
4. **Deploy means: publish your code.** Push to Git and Cipi builds the new version next to the live one, then switches in one step. Something wrong? Roll back.
5. **You're in charge.** Type sudo cipi … over SSH, or add the optional web panel. It's free, open source, and nothing leaves your server.

How it fits: Your laptop (ssh cipi@server) → Your VPS (Cipi: Nginx, PHP, database) → Your apps (shop · blog · api, isolated) → Your visitors (HTTPS, fast, always on).

Your first hour: [Set up a VPS](https://cipi.sh/quickstart#vps) → [Deploy your app](https://cipi.sh/quickstart#laravel) → [Turn on backups](https://cipi.sh/quickstart#backups) → [Get alerts](https://cipi.sh/quickstart#notifications).

## Paths

- [Set up a VPS from zero](https://cipi.sh/quickstart#vps): From a provider account to a hardened server you can log in to, in about twenty minutes. (20 min, beginner)
- [Deploy a Laravel app with Git and SSH](https://cipi.sh/quickstart#laravel): Your repository on HTTPS with a queue worker, the scheduler, zero-downtime deploys on every push and instant rollback. (15 min, beginner)
- [Deploy WordPress, with page cache](https://cipi.sh/quickstart#wordpress): A WordPress site in its own isolated box, with HTTPS, a page cache that answers without PHP, an object cache and real cron. (15 min, beginner)
- [Deploy a Symfony app from its repository](https://cipi.sh/quickstart#symfony): A Symfony app from Git, with its database, build steps on every deploy, HTTPS and a health check. (20 min, intermediate)
- [Deploy a Next.js, Nuxt or static frontend](https://cipi.sh/quickstart#node): A frontend built on the server at every deploy and served by Nginx: SPA, static or SSR with blue/green restarts. (10 min, beginner)
- [Keep server settings in Git with cipi.yml](https://cipi.sh/quickstart#cipi-yml): PHP version, workers, scheduler, health check and deploy steps next to your code: reviewed in pull requests, applied all or nothing. (10 min, intermediate)
- [Back up your apps and databases](https://cipi.sh/quickstart#backups): Encrypted, scheduled backups on the server and off it, to S3 or SFTP, checked and restorable. (10 min, beginner)
- [Turn on notifications](https://cipi.sh/quickstart#notifications): Failed deploys, backups, health checks, logins and patches on Telegram, Slack, e-mail or a webhook. (5 min, beginner)
- [Watch uptime, health and metrics](https://cipi.sh/quickstart#monitoring): A health check per app, automatic rollback of a bad release, and a month of CPU, memory, requests and uptime. (5 min, beginner)
- [Turn on the web panel](https://cipi.sh/quickstart#panel): A self-hosted dashboard for one or many servers: apps, deploys, databases, backups, metrics, your team with roles, 2FA and SSO. (15 min, beginner)
- [Integrate Cloudflare and the other connectors](https://cipi.sh/quickstart#cloudflare): Cloudflare's proxy with the real visitor IP, certificates through its DNS, Zero Trust for private parts, and 28 provider connectors in the panel. (15 min, intermediate)
- [Manage wildcard domains](https://cipi.sh/quickstart#wildcard): Every customer on their own subdomain (acme.myapp.com) from one Laravel app, with one wildcard certificate. (10 min, intermediate)
- [Secure SSH and close port 22](https://cipi.sh/quickstart#ssh): Good keys, an alert on every login, and SSH reachable only from your own devices. (15 min, intermediate)
- [Move from Forge, Ploi or another server](https://cipi.sh/quickstart#migrate): Bring an app over with a rehearsal first, cut over in minutes, and keep the old server as your plan B. (1 hour, intermediate)
- [Ask your app from Claude, Cursor or VS Code](https://cipi.sh/quickstart#ai): An MCP server in your Laravel app: health, logs, schema and deploys from your AI assistant, with a token and guardrails. (10 min, intermediate)

## Set up a VPS from zero

From a provider account to a hardened server you can log in to, in about twenty minutes.

Time: 20 min · Level: Beginner

**You need:**

- An account at a VPS provider (Hetzner, DigitalOcean, AWS, Vultr, OVHcloud…)
- A terminal on your laptop (macOS, Linux, or Windows with PowerShell or WSL)
- A domain name, if you want your site on it (you can add it later)

### 1. Create your SSH key (on your laptop)

Your key is how you'll log in: no passwords. Press Enter for the default file and choose a passphrase. Then print the public half: that's the one you give the server.

```bash
ssh-keygen -t ed25519 -C "you@example.com"
cat ~/.ssh/id_ed25519.pub
```

### 2. Create the server (in the browser)

At your provider, create a server with Ubuntu 24.04 or 26.04 LTS. 1–2 GB of RAM is enough for a small app, 4 GB for several. Paste your public key when asked, and pick a region close to your visitors. Write down the IP address.

### 3. Point your domain at it (in the browser)

At your domain's DNS provider, add an A record from your domain (and www) to the server's IP. It can take a few minutes to spread.

### 4. Install Cipi (on the server)

Log in as root and run the installer. It asks for your SSH public key, shows its plan and installs the whole stack in about ten minutes. Save the credentials it prints: they are shown once.

```bash
ssh root@203.0.113.10
wget -O - https://cipi.sh/setup.sh | bash
```

### 5. Log in as cipi (on your laptop)

Root login is now off. From now on you connect as cipi, with your key, and type every command after sudo.

```bash
ssh cipi@203.0.113.10
sudo cipi status
```

**What you'll have:** A hardened server: Nginx, PHP, MariaDB, Valkey and Supervisor installed, a firewall with only SSH, HTTP and HTTPS open, Fail2ban, root login off, and PHP and Nginx patched every night.

**Docs:** [Install Cipi](https://cipi.sh/docs/installation), [How Cipi works](https://cipi.sh/docs/how-cipi-works), [SSH keys](https://cipi.sh/docs/ssh-keys)

**Guides:** [VPS, SSH and DNS basics](https://cipi.sh/guides/vps-ssh-dns-basics), [Cipi on Hetzner](https://cipi.sh/guides/cipi-hetzner), [Cipi on DigitalOcean](https://cipi.sh/guides/cipi-digitalocean), [Cipi on AWS EC2](https://cipi.sh/guides/cipi-aws-ec2)

## Deploy a Laravel app with Git and SSH

Your repository on HTTPS with a queue worker, the scheduler, zero-downtime deploys on every push and instant rollback.

Time: 15 min · Level: Beginner

**You need:**

- A server with Cipi (path 1)
- A Laravel app in a Git repository (GitHub, GitLab, Bitbucket, Azure DevOps or your own)
- A domain pointing at the server

### 1. Let Cipi talk to your Git provider (on the server)

Optional, but it saves clicks: with a token, Cipi adds the read-only deploy key and the push webhook to the repository for you.

```bash
sudo cipi git github-token ghp_xxx
```

### 2. Create the app (on the server)

The wizard asks for the type (Laravel), PHP-FPM or Octane, the database, the name, the domain and the repository. It builds an isolated app: Linux user, database, PHP pool, Nginx, worker, scheduler and deploy key.

```bash
sudo cipi app create
# or in one line
sudo cipi app create --user=myapp --domain=myapp.com \
  --repository=git@github.com:you/myapp.git --branch=main --php=8.6
```

### 3. No token? Add the deploy key (in the browser)

Copy the key from the summary (or print it again) and add it to the repository as a read-only deploy key.

```bash
sudo cipi deploy myapp --key
```

### 4. Add the Cipi Agent to your project (on your laptop)

The agent adds a signed deploy webhook and a health endpoint to your app. Commit and push.

```bash
composer require cipi/agent
git commit -am "Add Cipi Agent" && git push
```

### 5. Deploy, then turn on HTTPS (on the server)

The first deploy builds a release next to nothing and goes live. Then a free Let's Encrypt certificate, renewed automatically.

```bash
sudo cipi deploy myapp
sudo cipi ssl install myapp
```

### 6. Push to deploy from now on (on your laptop)

Every push to your branch is live about a minute later. If the webhook wasn't created for you, print its URL and secret and add them to the repository.

```bash
git push
# on the server, if needed
sudo cipi deploy myapp --webhook
```

### 7. Work on the app over SSH (on the server)

Your admin key also opens the app's own shell. Run Artisan, read the logs, edit the .env, roll back in a second.

```bash
sudo cipi app artisan myapp migrate:status
sudo cipi app logs myapp
sudo cipi app env myapp
sudo cipi deploy myapp --rollback
```

**What you'll have:** Your Laravel app on HTTPS, with its own database, a queue worker and the scheduler, deploying with zero downtime on every push and keeping five releases for rollback.

**Docs:** [Create an app](https://cipi.sh/docs/create-app), [Git providers & deploy keys](https://cipi.sh/docs/git), [Auto-deploy on push](https://cipi.sh/docs/auto-deploy), [Deploy & roll back](https://cipi.sh/docs/deploying), [Environment variables](https://cipi.sh/docs/environment), [Queues & Horizon](https://cipi.sh/docs/workers)

**Guides:** [Deploy Laravel on an Ubuntu VPS](https://cipi.sh/guides/deploy-laravel-ubuntu-vps), [Push-to-deploy from GitHub, GitLab or Bitbucket](https://cipi.sh/guides/cipi-agent-webhook-deploy), [CI/CD and Git workflow](https://cipi.sh/guides/laravel-ci-cd-git-workflow), [Horizon and queues](https://cipi.sh/guides/laravel-horizon-queues)

## Deploy WordPress, with page cache

A WordPress site in its own isolated box, with HTTPS, a page cache that answers without PHP, an object cache and real cron.

Time: 15 min · Level: Beginner

**You need:**

- A server with Cipi (path 1)
- A domain pointing at the server

### 1. Create the app and its database (on the server)

A custom app hosts any PHP site. --db makes its database, user and password with it: save the password from the summary, it's shown once.

```bash
sudo cipi app create --custom --user=blog --domain=blog.example.com --db=blog
```

### 2. Upload WordPress (on the server)

Log in as the app user and unpack WordPress into htdocs. Prefer SFTP? Connect with any SFTP client as the same user.

```bash
ssh blog@203.0.113.10
cd ~/htdocs
curl -sO https://wordpress.org/latest.tar.gz && tar xzf latest.tar.gz --strip-components=1 && rm latest.tar.gz
```

### 3. HTTPS, then the installer (in the browser)

Issue the certificate, open the site and run WordPress's installer: database blog, user blog, the saved password, host 127.0.0.1.

```bash
sudo cipi ssl install blog
```

### 4. Turn on the page cache (on the server)

Nginx keeps the pages WordPress makes and answers the next visitors without running PHP. Logged-in users, wp-admin and carts are never cached.

```bash
sudo cipi cache blog on --ttl=1h
curl -sI https://blog.example.com/ | grep -i x-cache-status
```

### 5. Purge only what changed (in the browser)

Install the Cipi Cache plugin (Plugins → Add New → Upload Plugin, with cipi-cache.zip): an edited post drops its own pages from the cache at once, so pages can be kept for hours.

```bash
sudo cipi cache blog ttl 8h
```

### 6. Add the object cache (on the server)

For what the page cache can't keep (wp-admin, logged-in users), an object cache on a Valkey of its own. Then, in WordPress, install Redis Object Cache and press Enable Object Cache.

```bash
sudo cipi cache blog object on
```

### 7. Real cron instead of WP-Cron (on the server)

Add define('DISABLE_WP_CRON', true); to wp-config.php, then as the app user (crontab -e) run WordPress's cron every five minutes.

```text
*/5 * * * * php ~/htdocs/wp-cron.php >/dev/null 2>&1
```

**What you'll have:** A fast WordPress on HTTPS, isolated from your other apps, with a page cache, an object cache, real cron, PHP patched every night and malware scans available.

**Docs:** [Custom PHP & static sites](https://cipi.sh/docs/custom-apps), [Page cache](https://cipi.sh/docs/page-cache), [Valkey and the object cache](https://cipi.sh/docs/valkey), [SSL certificates](https://cipi.sh/docs/ssl)

**Guides:** [WordPress next to your Laravel apps](https://cipi.sh/guides/deploy-wordpress-custom-app), [Make WordPress fast](https://cipi.sh/guides/wordpress-cache), [Nginx page cache and purging](https://cipi.sh/guides/nginx-page-cache-purge), [WooCommerce on a VPS](https://cipi.sh/guides/woocommerce-vps)

## Deploy a Symfony app from its repository

A Symfony app from Git, with its database, build steps on every deploy, HTTPS and a health check.

Time: 20 min · Level: Intermediate

**You need:**

- A server with Cipi (path 1)
- A Symfony app in a Git repository
- A domain pointing at the server

### 1. Create the app from the repository (on the server)

A custom app serving the public/ folder, with its database. Add the deploy key from the summary to the repository (read-only), or set a Git token first as in the Laravel path.

```bash
sudo cipi app create --custom --user=billing --domain=billing.example.com \
  --repository=git@github.com:acme/billing.git --branch=main \
  --docroot=public --php=8.4 --db=billing
```

### 2. Configure the environment (on the server)

As the app user, create ~/htdocs/.env.local (never committed) with APP_ENV=prod, an APP_SECRET and the DATABASE_URL with the saved password.

```bash
ssh billing@203.0.113.10
nano ~/htdocs/.env.local
```

### 3. Describe the build in cipi.yml (in your repository)

Commit a cipi.yml at the root of the repository: Cipi runs these steps after every deploy.

```yaml
version: 1
deploy:
  post:
    - composer install --no-dev --optimize-autoloader --no-interaction
    - php bin/console doctrine:migrations:migrate --no-interaction
    - php bin/console cache:clear
  post_on_failure: abort
```

### 4. Deploy and turn on HTTPS (on the server)

The deploy pulls the code into htdocs and runs the steps. Then the certificate, and a health check every five minutes.

```bash
sudo cipi deploy billing
sudo cipi ssl install billing
sudo cipi health set billing --url=https://billing.example.com/ --expect=200
```

### 5. Want atomic releases and rollback? (in your repository)

Custom apps deploy in place. For releases with a switch in one step and rollback, give the app a Deployer recipe or a CI pipeline: the guide below has both, ready to copy.

**What you'll have:** Your Symfony app on HTTPS from Git, with its database, Composer and migrations on every deploy, and a health check watching it.

**Docs:** [Custom PHP apps](https://cipi.sh/docs/custom-apps), [cipi.yml](https://cipi.sh/docs/yml), [Git providers & deploy keys](https://cipi.sh/docs/git), [Health checks](https://cipi.sh/docs/health-checks)

**Guides:** [Deploy Symfony](https://cipi.sh/guides/deploy-symfony), [Zero-downtime deploys for any PHP app](https://cipi.sh/guides/zero-downtime-php-deploys), [Custom apps: PHP, static sites and CMSs](https://cipi.sh/guides/custom-apps-php-static-cms)

## Deploy a Next.js, Nuxt or static frontend

A frontend built on the server at every deploy and served by Nginx: SPA, static or SSR with blue/green restarts.

Time: 10 min · Level: Beginner

**You need:**

- A server with Cipi (path 1)
- A frontend repository (Next.js, Nuxt, SvelteKit, Astro, Remix or Vite)

### 1. Create a Node app (on the server)

Pick spa, static or ssr, and the framework: Cipi fills in the build and start commands.

```bash
sudo cipi app create --user=web --domain=www.example.com \
  --repository=git@github.com:you/web.git --node=ssr --framework=next --node-version=24
```

### 2. Deploy and turn on HTTPS (on the server)

Every deploy installs, builds and switches with no dropped request; hashed assets are cached for good, HTML never.

```bash
sudo cipi deploy web
sudo cipi ssl install web
```

### 3. Pin the Node version (on the server)

Each app can run its own Node LTS major, from official, checksum-verified builds. Push-to-deploy works without any agent: Cipi verifies the provider's signed webhook itself.

```bash
sudo cipi node install 24
sudo cipi node list
```

**What you'll have:** Your frontend on HTTPS, rebuilt on every deploy, with releases and rollback like a Laravel app — next to your API on the same server.

**Docs:** [Node apps](https://cipi.sh/docs/node-apps), [Node.js versions](https://cipi.sh/docs/nodejs)

**Guides:** [A Laravel API with a Next.js or Nuxt front end](https://cipi.sh/guides/laravel-api-nextjs-nuxt)

## Keep server settings in Git with cipi.yml

PHP version, workers, scheduler, health check and deploy steps next to your code: reviewed in pull requests, applied all or nothing.

Time: 10 min · Level: Intermediate

**You need:**

- A Laravel app on Cipi (path 2), or any app
- For the generator and the validator: the Cipi Agent in your Laravel app

### 1. Start from your code (on your laptop)

The agent reads your app and writes a first cipi.yml the server will accept. Or start from the commented template.

```bash
php artisan cipi:yml generate --write
# or
php artisan cipi:yml example --write
```

### 2. Shape it (in your repository)

Keep only what you want the repository to decide. Secrets never go here: the server keeps them.

```yaml
version: 1
app:
  php: "8.6"
workers:
  horizon: true
schedule: true
health:
  url: "https://myapp.com/up"
  rollback_on_unhealthy: true
```

### 3. Validate before you push (on your laptop)

The same parser and validator as the server, on your laptop and in CI.

```bash
php artisan cipi:yml validate
```

### 4. Plan, then apply (on the server)

After a deploy, see every change the file would make, then apply it all or nothing. Or let it apply after every deploy.

```bash
sudo cipi yml plan myapp
sudo cipi yml apply myapp
sudo cipi yml auto myapp on
```

### 5. One repository, every environment (in your repository)

Add cipi-staging.yml next to cipi.yml: an app created with --env=staging reads it first.

**What you'll have:** Your server settings versioned with your code, reviewed in pull requests and applied safely: no app can be created, no other app touched, no shell run from the file.

**Docs:** [cipi.yml reference](https://cipi.sh/docs/yml), [cipi.yml tooling](https://cipi.sh/docs/agent-yml)

**Guides:** [Manage apps with cipi.yml](https://cipi.sh/guides/manage-apps-with-cipi-yml), [cipi.yml recipes](https://cipi.sh/guides/cipi-yml-recipes), [Staging and production from one repository](https://cipi.sh/guides/cipi-yml-staging-production)

## Back up your apps and databases

Encrypted, scheduled backups on the server and off it, to S3 or SFTP, checked and restorable.

Time: 10 min · Level: Beginner

**You need:**

- A server with Cipi
- For off-site copies: an S3-compatible bucket, or an SFTP server such as a Hetzner Storage Box

### 1. Set backups up (on the server)

Creates the local folder and a nightly profile, default, with every app and database. Then it offers to add an S3 bucket or an SFTP server.

```bash
sudo cipi backup configure
```

### 2. Send them off the server (on the server)

A copy only on the server is lost with the server. Add a bucket (the secret is read from a file, never typed on the command line) or an SFTP server, and use it for the nightly profile.

```bash
sudo cipi backup destination add s3 --bucket=acme-backups --key=AKIA… \
  --secret-stdin --endpoint=https://fsn1.your-objectstorage.com --use=default < secret.txt
sudo cipi backup destination test
```

### 3. Back up the database more often (on the server)

A shop or a busy app: a database dump every 30 minutes, kept for a day.

```bash
sudo cipi backup profile add db-often --scope=db --every=30m --keep=48 --dest=local
```

### 4. Run one and check it (on the server)

Don't wait for tonight. status says what no profile covers yet.

```bash
sudo cipi backup run
sudo cipi backup status
sudo cipi backup verify
```

### 5. Keep the key, test a restore (on the server)

Store the encryption key in your password manager: without it an encrypted archive can't be opened. Then download a run once, so you know how.

```bash
sudo cipi backup key show
sudo cipi backup list
sudo cipi backup fetch default <run>
```

**What you'll have:** Nightly encrypted backups of every app and database, on the server and off it, a watchdog that tells you when a profile falls behind, and a restore you've already tried.

**Docs:** [Backups to S3 & SFTP](https://cipi.sh/docs/backups), [Databases](https://cipi.sh/docs/databases), [Server sync & migration](https://cipi.sh/docs/sync)

**Guides:** [Back up to S3 and restore](https://cipi.sh/guides/backup-vps-s3), [Back up to a Hetzner Storage Box over SFTP](https://cipi.sh/guides/sftp-backups-hetzner-storage-box), [Exclude files from backups](https://cipi.sh/guides/exclude-files-from-backups)

## Turn on notifications

Failed deploys, backups, health checks, logins and patches on Telegram, Slack, e-mail or a webhook.

Time: 5 min · Level: Beginner

**You need:**

- A server with Cipi
- A Telegram bot (from @BotFather) and your chat id, a Slack webhook URL, or an SMTP account

### 1. Add a channel (on the server)

One command per channel. Telegram here; Slack, Discord, e-mail, Resend, SES, ntfy, Pushover and webhooks work the same way.

```bash
sudo cipi notification add telegram oncall --token=<bot-token> --chat-id=<chat-id>
sudo cipi notification add slack team --url=https://hooks.slack.com/services/…
```

### 2. Send each channel what it needs (on the server)

The phone gets only what needs someone now; the team's chat gets the deploys.

```bash
sudo cipi notification events oncall urgent
sudo cipi notification events team deploy
```

### 3. Test it (on the server)

A test message on every channel. Then look at which events are on.

```bash
sudo cipi notification test all
sudo cipi notification triggers
```

**What you'll have:** You hear about failed deploys and backups, sites that go down, a full disk, SSH logins and security events, where you'll actually read them.

**Docs:** [Notifications](https://cipi.sh/docs/notifications), [Deploy notifications](https://cipi.sh/docs/deploy-notifications), [Server monitor](https://cipi.sh/docs/monitor)

**Guides:** [Server notifications done right](https://cipi.sh/guides/notifications-alerts), [Server monitoring and alerts](https://cipi.sh/guides/server-monitoring-alerts)

## Watch uptime, health and metrics

A health check per app, automatic rollback of a bad release, and a month of CPU, memory, requests and uptime.

Time: 5 min · Level: Beginner

**You need:**

- An app on Cipi
- Laravel 11+: the /up route is there already

### 1. Add a health check (on the server)

Checked every five minutes and right after every deploy.

```bash
sudo cipi health set myapp --url=https://myapp.com/up --expect=200
```

### 2. Roll back a bad release by itself (on the server)

If the app doesn't answer after a deploy, the previous release comes back within seconds.

```bash
sudo cipi health set myapp --rollback-on-unhealthy
```

### 3. Look at the numbers (on the server)

Every minute the server records itself and each app: no agent, nothing listening, nothing sent anywhere. The web panel draws them.

```bash
sudo cipi metrics
sudo cipi metrics uptime --range=30d
sudo cipi monitor
```

**What you'll have:** You know when an app is down, a bad deploy undoes itself, and you can see when a problem started and what else changed.

**Docs:** [Health checks](https://cipi.sh/docs/health-checks), [Server monitor](https://cipi.sh/docs/monitor), [Metrics & uptime history](https://cipi.sh/docs/metrics)

**Guides:** [Cipi metrics explained](https://cipi.sh/guides/cipi-metrics-server-app-uptime), [Monitor app health with any uptime service](https://cipi.sh/guides/cipi-agent-health-monitoring)

## Turn on the web panel

A self-hosted dashboard for one or many servers: apps, deploys, databases, backups, metrics, your team with roles, 2FA and SSO.

Time: 15 min · Level: Beginner

**You need:**

- A server with Cipi
- Two hostnames pointing at it, e.g. api.example.com and panel.example.com

### 1. Give each server its API (on the server)

The panel talks to servers only through their API. On every server you want to manage: install it on its own hostname and make a token for the panel.

```bash
sudo cipi api api.example.com
sudo cipi api token create --name=gui --full-access
```

### 2. Install the panel (on the server)

On the server that will host it. It checks the DNS, creates its own isolated app, asks for the first administrator and issues the certificate.

```bash
sudo cipi gui panel.example.com
```

### 3. Log in and add your servers (in the web panel)

Open https://panel.example.com, turn on two-factor login, then add each server with its API address and token.

### 4. Invite your team (in the web panel)

Invite links, a role per server and permissions per app. Single sign-on with Google, Entra ID or any OpenID Connect provider is one command away.

```bash
sudo cipi gui sso set
```

**What you'll have:** Your whole fleet in the browser: create apps, deploy and roll back, read logs, edit the .env, manage databases, backups, the firewall and Zero Trust — with everyone on their own account.

**Docs:** [Panel overview](https://cipi.sh/docs/gui-overview), [Install the panel](https://cipi.sh/docs/gui-install), [REST API](https://cipi.sh/docs/api), [Single sign-on](https://cipi.sh/docs/gui-sso)

**Guides:** [The web panel and the API](https://cipi.sh/guides/cipi-gui-and-api)

## Integrate Cloudflare and the other connectors

Cloudflare's proxy with the real visitor IP, certificates through its DNS, Zero Trust for private parts, and 28 provider connectors in the panel.

Time: 15 min · Level: Intermediate

**You need:**

- A domain on Cloudflare
- A Cloudflare API token (DNS edit; Zero Trust permissions if you use the tunnel)
- For connectors: the web panel (path 10)

### 1. Proxy, and see real visitors (on the server)

With the orange cloud on, set SSL/TLS to Full (strict) in Cloudflare, and teach Nginx, Fail2ban and CrowdSec to read the visitor's real IP.

```bash
sudo cipi nginx real-ip cloudflare
```

### 2. Certificates through Cloudflare DNS (on the server)

No need for port 80, works with the proxy on, and allows wildcards.

```bash
sudo cipi ssl dns set --token=CF_TOKEN
sudo cipi ssl install myapp --dns=cloudflare
```

### 3. Private parts behind Zero Trust (on the server)

Optional: sites through a Cloudflare Tunnel, a login wall in front of /admin or staging, and later no inbound port at all.

```bash
sudo cipi zt token set --token=CF_API_TOKEN --account=ACCOUNT_ID
sudo cipi zt enable
sudo cipi zt hostname add myapp
sudo cipi zt access enable myapp --path=/admin --allow=@example.com
```

### 4. Connect your providers in the panel (in the web panel)

Panel → Connectors: Cloudflare DNS, DigitalOcean, Hetzner, AWS, Vultr, buckets and keys, mail domains, Sentry, Oh Dear and more — 28 in all, each with its own token, next to the servers they belong to.

**What you'll have:** Your sites behind Cloudflare's CDN and WAF with the right visitor IPs and valid certificates, private paths behind a login, and your providers managed from one place.

**Docs:** [Behind Cloudflare: the real IP](https://cipi.sh/docs/nginx#real-ip), [SSL certificates](https://cipi.sh/docs/ssl), [Cloudflare Zero Trust](https://cipi.sh/docs/zero-trust), [Panel connectors](https://cipi.sh/docs/gui-connectors)

**Guides:** [Cloudflare in front of Laravel, explained](https://cipi.sh/guides/cloudflare-proxy-ssl-wildcard), [Laravel behind Cloudflare Zero Trust](https://cipi.sh/guides/cloudflare-zero-trust-laravel), [Cloudflare Zero Trust vs Tailscale vs NetBird](https://cipi.sh/guides/cloudflare-zero-trust-vs-tailscale-netbird)

## Manage wildcard domains

Every customer on their own subdomain (acme.myapp.com) from one Laravel app, with one wildcard certificate.

Time: 10 min · Level: Intermediate

**You need:**

- An app on Cipi
- The domain's DNS on Cloudflare, and an API token that can edit DNS

### 1. Add the wildcard DNS record (in the browser)

At Cloudflare: *.myapp.com pointing at the server (A record), next to myapp.com.

### 2. Give Cipi the DNS token (on the server)

Wildcard certificates are issued through DNS validation.

```bash
sudo cipi ssl dns set --token=YOUR_CLOUDFLARE_TOKEN
```

### 3. Add the wildcard and the certificate (on the server)

Quote the wildcard. One certificate covers myapp.com and every subdomain.

```bash
sudo cipi alias add myapp '*.myapp.com'
sudo cipi ssl install myapp --dns=cloudflare
```

### 4. Check a tenant (on your laptop)

Any name works at once. In Laravel, route by subdomain with Route::domain('{tenant}.myapp.com').

```bash
curl -sI https://acme.myapp.com | head -1
```

**What you'll have:** Unlimited tenant subdomains on HTTPS from one app, renewed automatically.

**Docs:** [Wildcard domains](https://cipi.sh/docs/wildcard-domains), [Domains & aliases](https://cipi.sh/docs/domains), [SSL certificates](https://cipi.sh/docs/ssl)

**Guides:** [Multi-tenant Laravel with wildcard subdomains](https://cipi.sh/guides/laravel-multi-tenant-wildcard), [Cloudflare, SSL modes and wildcards](https://cipi.sh/guides/cloudflare-proxy-ssl-wildcard)

## Secure SSH and close port 22

Good keys, an alert on every login, and SSH reachable only from your own devices.

Time: 15 min · Level: Intermediate

**You need:**

- A server with Cipi
- A free Tailscale or NetBird account (or Cloudflare, see path 11)

### 1. One key per person, named (on the server)

Add your teammates' keys and remove them the day they leave. You can't remove your own session's key or the last one.

```bash
sudo cipi ssh add "ssh-ed25519 AAAA… mario@laptop"
sudo cipi ssh list
```

### 2. An alert for every login (on the server)

SSH logins, sudo, su and key changes are security events: send them to your phone.

```bash
sudo cipi notification events oncall urgent
```

### 3. Join a private network (on the server)

The server gets an address only your devices can reach. It closes nothing yet.

```bash
sudo cipi zt tailscale enable --auth-key=tskey-auth-…
```

### 4. Prove it, then lock (on your laptop)

Log in over the private network, and from that session close port 22 to the rest of the world.

```bash
ssh cipi@100.101.102.103
sudo cipi zt tailscale lock ssh
```

**What you'll have:** SSH invisible to the internet, every login on your phone, and a key list you can trust.

**Docs:** [SSH keys](https://cipi.sh/docs/ssh-keys), [Tailscale & NetBird](https://cipi.sh/docs/mesh-network), [Firewall & bans](https://cipi.sh/docs/firewall)

**Guides:** [SSH security best practices](https://cipi.sh/guides/ssh-security-best-practices), [Reach your servers over Tailscale or NetBird](https://cipi.sh/guides/tailscale-netbird-private-server-access), [CrowdSec on a Laravel server](https://cipi.sh/guides/crowdsec-laravel-server)

## Move from Forge, Ploi or another server

Bring an app over with a rehearsal first, cut over in minutes, and keep the old server as your plan B.

Time: 1 hour · Level: Intermediate

**You need:**

- A new server with Cipi (path 1)
- Access to the old server and to the domain's DNS

### 1. Create the app on the new server (on the server)

Same repository, same branch, a temporary domain or the real one. Copy the .env from the old server.

```bash
sudo cipi app create
sudo cipi app env myapp
```

### 2. Deploy once and rehearse the data copy (on the server)

Deploy, then copy the database and the uploads once, to see how long it takes and that the app works on the new server.

### 3. Cut over (in the browser)

Lower the DNS TTL beforehand, put the old app in maintenance, copy the data a last time, point the DNS at the new server and issue the certificate.

```bash
sudo cipi ssl install myapp
```

### 4. Between two Cipi servers, one command (on the server)

Moving from one Cipi server to another? sync copies apps, keys, workers, crontab, database and storage in encrypted archives.

```bash
sudo cipi sync check --host=203.0.113.20
sudo cipi sync push --host=203.0.113.20 --with-db --with-storage --import
```

**What you'll have:** Your app on a server you own, with the old one kept as a plan B until you're sure.

**Docs:** [Server sync & migration](https://cipi.sh/docs/sync), [Create an app](https://cipi.sh/docs/create-app), [Cipi vs alternatives](https://cipi.sh/docs/vs-alternatives)

**Guides:** [Move from Laravel Forge, step by step](https://cipi.sh/guides/migrate-from-laravel-forge), [Migrate a server with cipi sync](https://cipi.sh/guides/migrate-server-cipi-sync)

## Ask your app from Claude, Cursor or VS Code

An MCP server in your Laravel app: health, logs, schema and deploys from your AI assistant, with a token and guardrails.

Time: 10 min · Level: Intermediate

**You need:**

- A Laravel app on Cipi with the Cipi Agent (path 2)
- Claude Code, Claude Desktop, Cursor or VS Code

### 1. Turn on the agent's MCP (on the server)

As the app user, in the live release: enable the service and make its token.

```bash
php artisan cipi:service mcp --enable
php artisan cipi:generate-token mcp
php artisan cipi:mcp
```

### 2. Connect your assistant (on your laptop)

cipi:mcp prints the endpoint and a ready-to-paste configuration. For Claude Code:

```bash
claude mcp add --transport http cipi-myapp https://myapp.com/cipi/mcp \
  --header "Authorization: Bearer YOUR_CIPI_MCP_TOKEN"
```

### 3. Ask (on your laptop)

"Is the app healthy? What failed last night? Show the last deploys." SQL and Artisan are guarded and secrets are redacted.

**What you'll have:** Production answers in your editor, without SSH access for the assistant.

**Docs:** [MCP server](https://cipi.sh/docs/mcp), [Install the agent](https://cipi.sh/docs/agent-install)

**Guides:** [Manage Laravel in production with Claude and MCP](https://cipi.sh/guides/cipi-mcp-ai-agents), [The Cipi Agent in Laravel](https://cipi.sh/guides/cipi-agent-laravel-mcp)

---

Index of every page: https://cipi.sh/llms.txt · Everything in one file: https://cipi.sh/llms-full.txt · Source: https://github.com/cipi-sh/cipi (MIT)
