# Move a running site under Fuzops

Let Fuzops manage a server and its sites as they are, without downtime and without moving files, then switch each site to updates that keep it online.

Your server already runs websites, set up by hand or with another tool. This guide brings them under Fuzops without moving or rebuilding anything and without visitors noticing, then switches each site over when you are ready.

## What you need

- The server runs Ubuntu 22.04, 24.04 or 26.04, or Debian 12 or 13.
- You can sign in to it as the administrator (root).
- A recent backup of your sites, from your current tool or your hosting company, in case you change something by hand later.

## Steps

1. **Start the move-in.** Choose **Add a server**, then **Bring in a server that already runs websites**. Give the server the name you know it by and choose **Continue to connect it**.

   ![Bringing in a server: name it, then four steps where nothing changes until you choose](https://internal.fuzops.com/docs-img/adopt-server.webp)

2. **Connect it.** Copy the command (it is shown once) and run it on the server as root. It adds the Fuzops connection and nothing else: nothing is installed again, upgraded or restarted.

3. **Let Fuzops look.** Fuzops lists your sites and what runs on the server. It only looks; it never reads passwords, keys or your sites' settings files.

4. **Choose the sites.** In the **Move-in report**, tick the sites Fuzops should manage. Tick **Also bring in the site's settings file (.env)** for those whose settings you want to edit in Fuzops. Read what will and will not happen, tick **I have read what this does and does not do.** and confirm.

5. **Say where the code lives.** For each site you want to publish from Fuzops, choose **Say where the code lives before publishing** and connect its repository.

6. **Keep it online during updates.** Until you do this, an update changes the site's files where they are. Choose **Keep it online during updates** and **Switch it over**: Fuzops checks the site, copies the code into a new folder beside the live one, points the site at it and checks again. If the site answers differently, everything is put back. The original code is never changed or deleted.

7. **Optional: let Fuzops manage the web server settings.** **Manage web server settings here** replaces the site's web server settings file with the one Fuzops writes, after saving a copy. Lines added by hand are not carried over, so read the file first.

8. **Publish a first update** and check the site.

   **Jobs running under Supervisor or PM2.** If the server's **Health check** says background jobs still run under Supervisor or PM2, choose **Move to Fuzops**. Fuzops lists each job with what it would become, starts its own copy, checks it keeps running, and only then stops the old one, so nothing runs twice and nothing stops. Use **Stop the old one first** for a scheduler, and **Put it back** in the moved process's menu to undo. A website that runs under PM2 moves from its site page: choose **Run this app with Fuzops**, read what it will do, and confirm. Fuzops starts its own copy beside the PM2 one, sends visitors to it once it answers, and only then stops the app in PM2; **Put it back** undoes it. See [Run a website's app with Fuzops](https://internal.fuzops.com/docs/bring-in-a-server#run-a-websites-app-with-fuzops).

9. **Finish moving over.** When you are happy, follow **Finish moving over**: remove the server from the other tool (keeping the server at your hosting company), remove its login keys, and block its addresses if you want.

## What you should see

The server is online (a green mark, no warning), its sites are listed with their real addresses and keep answering throughout. Each site switched over publishes updates that keep it online.

## If it goes wrong

- **No sites were found**: Fuzops found nothing it can manage. You can still bring the server in and add sites later.
- **A switch-over stopped**: it stops without changing anything when the site does not answer or its web server settings are not sound, and puts everything back when a check fails afterwards. Read the reason, fix it and try again.
- **The other tool changes things back**: finish step 9 so only Fuzops manages the server. The server's **Health check** lists changes made outside Fuzops.
