A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.
Lesson 29, module 8: Sites, servers and monitoring The estate, its sites and its servers Thirty sites, five machines: who still knows what runs where? Each site reads from the client down to the machine. [Diagram: The estate, from client to machine] The client The project The site The machine Each site reads top to bottom: whose it is, what it's for, where it runs. Declare, link, store the access, assign, inventory. [Diagram: A site joins the estate] 1. Declare 2. Link 3. Store the access 4. Assign 5. Inventory Five steps, in this order; monitoring is covered in the next lesson. Reading the old site without touching it. Request: Using the old site's production FTP access, read the WordPress version and the size of the site folder. State the access and the route used. Don't change anything. Answer: Production FTP access from the old host, used over SSH (port 22 responds). WordPress version [x], folder of 2.1 GB. Nothing has been changed; the command is in the log. In production, the command runs without confirmation. The log says "production" The policy can shut off production Your written approval acts as a safeguard Read alone, act on approval, leave the rest to a person. [Diagram: What the agent does on a machine] Green: It does it alone Orange: With written approval Red: A person Green runs alone; orange on your written approval; red stays with a person. The base sets up a fresh Debian, never an existing control panel. Read-only preliminary check Preview before any writing Installation confirmed by a person In the exercise, you bring the wine merchant's two sites into the estate. Your turn: Bring the wine merchant's two sites into the estate The written course, the corrected exercise and the quiz are below the video.
Lesson 29 of 48 · module 8, sites, servers and monitoring
The estate, its sites and its servers
The Sites screen brings the whole estate together: each site with its client, project, machine, environment and the person looking after it. You learn to register a site and its machine, store their access, have the agent act on a server safely, read the inventory and prepare a fresh Debian machine with the base platform.
23 min of reading
1 min 53 of video
7 diagrams
6 demandes to copy
3 exemples pratiques
4 exercices answerss
5 questions
1 ressource
By the end of this lesson, you will know how to
Register a site and its machine in the estate, linked to the right client, project and environment
Have the agent read or modify a machine by naming the access, the environment and the limits of the action
Read a site's inventory and findings, then decide what becomes a task
What’s covered
The Sites screen and a site's record
Register machines and their access
Act on a machine
The inventory and analysis campaigns
The base platform, for a fresh Debian machine
3 worked examples, followed from start to finish
Exercise with answers · Bring the wine merchant's two sites into the estate
3 practice exercises, from guided to demanding cases
The quiz
Key points
Each site in the estate carries its client, project, machine, environment and the person who looks after it.
Access is stored on the machine, in the vault, with its environment; never in the record's notes.
In production, a command runs without confirmation: read first, then give written, limited approval.
The inventory is only complete with SSH access and the web root recorded; otherwise, core and PHP only.
A site no longer in use is archived; the core stack only installs on a clean Debian, after a preview and confirmation.
Monday 16 November. The Chartrons studio looks after around thirty sites, and Claire wants to see the wine merchant's in the same place as the others, with the name of the person looking after it. There are actually two: the old WordPress site, on shared hosting, whose FTP access Malik stored in the vault in module 3; and the new site, in staging on the studio's Debian server, soon to go into production. Malik brings them into the estate, with their machines and their access.
The Sites screen and a site's record
The Sites screen (“Websites” in the web application) shows the whole estate: each site, its environment, its status (“online” or “unreachable”), its checks and the person looking after it. Each record holds its client, project and machine; domains and certificates appear with the sites they relate to. The number of monitored sites doesn't affect the price of Nexus. A site that comes from a project (the production and staging addresses on its record) is edited on the project. A site that's no longer in use is archived rather than deleted: its scans, backups, requests and access remain. Screen labels may vary slightly between versions.
The estate, from client to machine
The client
The wine merchant: their record, their portal, the people who look after them.
The project
The work: tasks, Studio, repository, production and staging addresses.
The site
An address and an environment, who looks after it, what is installed on it.
The machine
The server or shared hosting, its host and its access stored in the vault.
Each site reads from top to bottom: whose it is, what it’s for, where it runs.
Add the wine merchant’s old site to the estate
Open Sites from the dock (“Websites” in the left-hand bar of the web app).
Click “Add a site” and enter the full address, including https://.
Give a label that makes sense on its own: “Wine merchant, old WordPress site”.
Choose the Production environment, then the client, project and machine.
Enter the technology (WordPress) and untick the portal box until the client needs to see it.
Assign the site to Malik: he finds it with its access entries.
A site's record, field by field
Field
For the merchant’s new site
Why
Address
https://[domaine du négociant]
It is what the probe queries, and what the vault associates with access entries
Environment
Production (and a second Staging site)
The agent chooses the access according to the environment
Client and project
The wine merchant and their redesign project
Requests, reports and tasks are linked to it
Machine
The studio's Debian server
A server alert groups all its sites
Technology and repositories
Next.js, the project's GitLab repository
Inventory and deployments start from there
Notes
Agreed maintenance window: Tuesday 7am–9am
Never a password: notes are not encrypted
Portal
Proposed to the client
The client finds their site and reports in their portal
Register machines and their access
A server is declared with a name, a host, a provider, notes and the list of sites it hosts. Its credentials are stored on it, in the vault: server, SSH, FTP or SFTP, database, API key, service account, environment variable, file, each with its environment. Assigning a server to a member also gives them the credentials for its sites, and a member of a server sees every site it hosts. For shared hosting (IONOS, OVH, Infomaniak…), an FTP or SFTP credential whose port 22 answers over SSH is enough: Nexus uses it over SSH with the same login details and says so. Removing a server leaves its sites in the estate, with no host. If a server changes legitimately, an administrator clears the stored SSH host key; otherwise, Nexus refuses to connect to a server that no longer looks like the one it knows.
A site joins the estate
1Register
Full address, label, environment.
2Attach
Client, project, machine: the record tells you where the site comes from.
3Store the credentials
SSH, FTP, database: in the vault, on the server, with their environment.
4Assign
The members who look after it, and therefore its access.
5Inventory
What is installed, the versions, the end-of-life dates.
Five steps, in this order; monitoring is covered in the next lesson.
Act on a machine
The agent runs one command at a time on a machine, with the access it has chosen by site, host and environment, and it says which one. Nexus connects on its own: the secret never passes through the terminal. It returns the output, the error and the exit code, and the command is logged; company policy can prohibit certain commands. On a production machine, the command runs without confirmation and the log is marked “production”; if policy closes production, the answer is a clear refusal, with no prompt. To read a file (a log, a configuration, a dump), the agent downloads it: 200 MB maximum, over SFTP or encrypted FTP, never plain FTP. A dump or client data goes into .nexus/donnees/ in the session folder, which git ignores; a folder is archived first.
Before a command on a machine
1Does the request name the site and the environment?
No Name them: the agent chooses the access by site, host and environment.
2Is there a staging site to try it on?
No Read only in production, then propose the action.
3Is the action read-only?
No Give written, limited approval before any write.
4Does company policy open production?
No Flat refusal: say what was meant to run, don’t retry.
Yes to allThe agent uses the chosen access, names it, and the command stays in the log.
In production, the command runs without confirmation: caution has to be written beforehand, in the request.
Read the old site without touching it
On the merchant’s old site ([address]), using the production FTP credential for its shared hosting, read-only:
- the WordPress version (via WP-CLI if present, otherwise in wp-includes/version.php);
- the list of plugins and their versions;
- the size of the site folder and of the media.
First tell me the credential and route used (FTP or SSH). Don’t modify, move or delete anything. If a command would need to write, stop and ask me.
Roughly what you should get
What to expect: “production FTP access, used over SSH: port 22 responds”, then the WordPress version, a list of plugins (including two no longer updated), “2.1 GB folder, of which 1.7 GB is media”. The log is marked “production”.
Bring the database back for the migration
On the old site, with the same credential: export the WordPress database to a file in the account’s temporary folder, then bring it back to .nexus/donnees/ancien-site.sql in this session. Then delete the temporary export from the server, and only that. Tell me the size of the file brought back.
Roughly what you should get
What to expect: both commands named before starting, the file retrieved over SFTP (“38 MB”), the temporary export deleted, and the reminder that .nexus/donnees/ does not go into git.
Deleting the temporary export is a write in production: it is limited in the request to that one file.
Read the estate through the APITerminal
# la clé se crée dans Paramètres › API et MCP et agit avec vos droits ; elle reste dans une variable d'environnement
# les sites en panne du parc que vous voyez
curl "https://api.nexus-engine.eu/api/v1/sites?etat=DOWN" \
-H "Authorization: Bearer $NEXUS_CLE"
# les machines que vous voyez, avec leurs sites
curl "https://api.nexus-engine.eu/api/v1/servers" \
-H "Authorization: Bearer $NEXUS_CLE"
Without a key, the API returns 401 (checked on 15 November 2026). An archived site only appears with the archive filter (archives parameter).
The inventory and analysis campaigns
The inventory shows what's installed on a site and the updates found. It comes from the machine when Nexus has SSH access to it and the site's web root is recorded; otherwise from the public page, and it's then limited to the core and PHP, since plugin versions read from a page aren't reliable. The estate's open findings can be read in one go: vulnerabilities, removals from the directory, end of life, overdue updates, from CRITICAL to INFO. The security scan looks for signs of intrusion (fingerprint, redirects, exposed files, DNS, certificate, public lists); a change judged normal is marked as such, and stays listed. An analysis campaign has agents check a group of sites and returns a verdict site by site. An empty table only means “all is well” if you know how many sites were checked.
Triage the estate's findings
Read the open findings across the whole estate, CRITICAL and HIGH severity. For each: the site, its client, the person looking after it, the finding, and its source (measured on the machine or read from the page). Also say how many sites were checked and how many weren't, and why.
Propose one task per site concerned, in its project, without creating it.
Roughly what you should get
What to expect: a table of findings (“wine merchant’s old site: two plugins removed from the directory, source machine”), “28 sites examined, 3 not examined for lack of SSH access”, and the list of proposed tasks. Nothing is created.
What the agent does on a machine
It does it on its own
Read a log or a configuration
Take a site’s inventory
Bring back a file to read
With written approval
Restart a service
Update a plugin, staging first
Upload a file to the machine
A person
Install the base platform on a machine
Delete a site or an archive
Put into production without being asked
Green goes ahead on its own; amber on your written approval; red stays with a person.
The base platform, for a fresh Debian machine
The base platform manages clean Debian 12 or 13 machines, with no control panel. A read-only pre-check, using root SSH access from the vault, returns a verdict: installable, or refused and why. The installation sets up an admin account, a firewall, nginx, PHP, MariaDB, PostgreSQL and Docker; it refuses a machine that already has a panel (it doesn't convert Plesk or cPanel), and it requires confirmation in the application: an agent can't trigger it. A base-platform site is registered with a system name, its domains, its type (WordPress, PHP, static) and its PHP version (8.3 by default); nothing is written to the machine until a preview is applied, which shows the operations, their differences and the risk level, and is valid for 30 minutes. Every night, a check marks each site “compliant” or “drifted”.
Mistakes to avoid
Write the host's FTP password in the site record's notes.
Notes aren't encrypted and an agent reads them: the secret circulates in plain text, with no record of who has seen it.
Store it in the vault as a server credential, with its environment; notes hold instructions, never a secret.
Register staging and production as a single site, with no environment.
The agent chooses the access by environment: it could run in production what was meant to be tried in staging.
One site per environment, each with its own credentials; name the environment in every request.
Delete the site of a departing client to “tidy up”.
Its scans, backups and requests disappear from view, even though they matter in a dispute or if the client comes back.
Archive the site: it leaves the current list and everything else remains.
Bring a client database dump back into the project repository.
Personal data about the client's customers goes into the git history, on GitLab or GitHub, and stays there even after deletion.
Put the dumps in the session folder’s .nexus/donnees/, which git ignores, and delete them once the migration is done.
3 SME situations followed from start to finish: the prompts exactly as they were written, the model answer to aim for, and what was checked before sending.
Example 1
An estate of 22 sites put back in order
Aurélie is technical lead at a seven-person web agency in Pessac. She is taking over her predecessor’s estate: 22 sites, several with no machine or client, and passwords written in the record notes.
An estate put back in order
1List the gaps
No server, no client, no one assigned.
2Secrets first
Four records, stored in the vault.
3Change the passwords
By Aurélie, at the hosting providers.
4Attach
Machines, clients, assigned people.
Request 1
List the sites in the estate with no machine, no client or no one looking after them, and those whose notes seem to contain a username or password. Don't copy any value: just say which record is concerned.
Model answer
No server (6): [list]. No client (3): [list]. No one assigned (9): [list].
Notes that appear to contain a secret (4): records for a notary’s site, a nursery, a garage and a sailing club.
Aurélie deals first with the four records containing secrets: that is the most immediate risk.
Request 2
For these four records: create one vault credential per secret, on the site’s server, with the right environment, then remove the secret from the notes. I’ll change the four passwords at the hosting providers myself afterwards.
Model answer
What to expect: four access entries created in the vault, their labels and environments, four notes cleaned up, and the reminder that these secrets were readable in plain text and must be changed.
Aurélie changes the passwords in the afternoon, then updates the access entries in the vault.
What was checked before sending
Secrets: none copied into the conversation, all stored in the vault.
The change: made by Aurélie, since the old ones circulated in plain text.
The rest: machines and clients linked, one person per site.
Rough scale: one morning for an estate you can read, instead of a week discovering it incident by incident.
Example 2
Nine sites on two shared hosts
Thomas is a freelance developer in Libourne. He maintains nine WordPress sites for tradespeople, spread across OVH and IONOS shared hosting, with FTP access only. He wants to know each site’s versions without opening nine FTP clients.
Nine inventories in a morning
9 hVersions
Nine sites read over SSH or encrypted FTP.
9 h 20The web root
Entered on all nine records.
9 h 30The inventory
Server as source, two outdated PHP versions.
10 hTasks
Two proposals, two quotes to prepare.
Request 1
For my nine sites, using their production FTP credentials, read-only: the WordPress version, the PHP version if it can be read, and the list of plugins. For each site, tell me which route you used (SSH or FTP).
Model answer
Eight sites: FTP access used over SSH, port 22 responds; WP-CLI present on six.
One site: no SSH, files read over encrypted FTP; WordPress version read from wp-includes/version.php.
[table of the nine sites, versions and plugins]
Thomas finds two sites still on a PHP version that is no longer patched.
Request 2
Enter the web root of each of the nine sites in its record, then take the inventory. Propose a task for the two sites whose PHP version is no longer patched, with a quote for the upgrade.
Model answer
What to expect: nine inventories “source: machine”, two tasks proposed in the relevant clients’ projects, nothing created without approval.
What was checked before sending
The channel: stated for each site, never plain FTP.
Reading: no writes on shared hosting.
Next: two proposed tasks, a quote to the client before any migration.
Rough scale: twenty minutes for nine inventories, instead of two hours logging in one by one.
Example 3
A new server for a haulier’s intranet
Benoît is IT manager at a 60-employee transport group in Bègles. He has rented a blank Debian 13 VPS to host the company intranet, a PHP site, and doesn’t want to install an admin panel.
A server, with or without the core stack
Manual
Configuration kept from memory
Gaps found during an outage
No preview before writing
With the base stack
Desired state described
Night check: compliant or drifted
Preview before any write
Request 1
Declare the machine “VPS intranet” and run the base stack pre-check with the root SSH access stored in the vault. Read-only. Tell me the verdict and, if it is refused, why.
Model answer
Pre-check: Debian 13, no existing configuration, no panel detected. Verdict: installable. The installation will set up an admin account, a firewall, nginx, PHP, MariaDB, PostgreSQL and Docker. It is confirmed in the application.
Benoît confirms the installation himself in the application.
Request 2
Register on the base platform the site “intranet”, domain [intranet.domaine], type PHP, PHP 8.3, linked to the site in the estate. Calculate the creation preview and show me the operations and the risk level. Don't apply anything.
Model answer
What to expect: the preview (folder, nginx configuration, database, certificate), the differences operation by operation, a low risk, and “preview valid for 30 minutes”.
Benoît applies the preview; the following night, the check marks the site “compliant”.
What was checked before sending
The verdict: read before any installation, on a clean machine.
The installation: confirmed by Benoît, never triggered by the agent.
The preview: reviewed before being applied, then the nightly check.
Rough scale: a server ready in an hour, with no control panel to maintain afterwards.
Bring the wine merchant's two sites into the estate
Malik needs to register the old WordPress site (shared hosting, production FTP access in the vault) and the new Next.js site (staging on the studio's Debian server, production planned on the same machine), then assign them. Claire wants the old site to stay visible until the switchover, then disappear from the list without losing anything. Write Malik's requests and what Claire does after the switchover.
Write the request that registers the three sites (old, staging, production) and their machines.
Write the request that takes a read-only inventory of the old site.
Ask for the go-live checklist for the production site.
Say what Claire does with the old site after the switchover.
See the answers
Register sites and machines
In the estate, for the client [négociant] and its project [refonte]:
1. Declare the machine “Mutualisé de l'ancien site”, provider [hébergeur], and store on it the production FTP access already in the vault.
2. Declare the old site [adresse], Production environment, WordPress technology, not offered in the portal, on this machine.
3. Check that the staging and production addresses on the project record appear as two sites, on the machine “Serveur Debian du studio”.
Assign all three sites to Malik. Tell me what you created and what already existed.
Roughly what you should get
What to expect: one machine and one site created, two sites from the project found on the right machine, all three assigned to Malik.
The old site's inventory
Enter the old site’s web root ([absolute path on the server]), then take its inventory using the server credential: core, PHP, plugins and versions, updates found. Read-only. Give the source of each piece of information.
Roughly what you should get
What to expect: an inventory “source: machine”, with the plugins and two findings of removal from the directory.
Before going live
Give the go-live checklist for the wine merchant's production site: what's in place, what's missing, what's unknown, with, for each missing line, the lesson or tool that resolves it.
Roughly what you should get
What to expect: certificate and HTTPS in place, monitoring and backup to do, report and client access to do, indexing unknown.
After the switchover and a successful migration audit, Claire archives the old site: it leaves the current list, but its analyses, backups and access remain viewable. She doesn’t delete it, and the FTP access stays in the vault until the hosting is cancelled.
Practise
Three more exercises, from the most guided to the most demanding. The material is provided in full: copy it into your tool, then check your work against the criteria before opening the answers.
Level 1 · guided10 min
Fill in a site’s record from an email
Read Claire's email and say what Malik puts in each field of the record. One line shouldn't go in the record: which one, and where does he store it?
The material to work on
From: Claire
Subject: caterer’s site to declare
Malik, could you add the Bègles caterer’s site to the estate?
Address: https://[domaine du traiteur]
It’s production, on our Debian server.
Project: “Traiteur, site 2026”. The client has already been created.
WordPress with WooCommerce.
WordPress admin password: [mot de passe].
You’re in charge, with Théo as backup.
The client wants to see their site and reports in their portal.
Check your work
The address is complete, including https://
The environment, project, client and machine are filled in
Malik and Théo are the assigned people
The password goes in the vault, not in the notes
See the answers
Field
Value
Address
https://[domaine du traiteur]
Environment
Production
Client and project
Caterer in Bègles · “Caterer, 2026 site”
Machine
The studio’s Debian server
Technology
WordPress, WooCommerce
People
Malik, Théo
Portal
Proposed to the client
Password
In the vault: Account / service access, Production environment, linked to the site
Malik's request
Register the site https://[caterer's domain] in the estate: Production environment, client [caterer], project “Caterer, 2026 site”, machine “Studio Debian server”, technology WordPress and WooCommerce, offered on the portal. Assign it to me and Théo. I'll store the admin access in the vault myself.
Roughly what you should get
What to expect: the site declared, linked and assigned; no note contains a secret.
Level 2 · independent18 min
Diagnose a 500 error on shared hosting
The message below arrives on a Tuesday morning. Write the read-only diagnostic request, then the limited approval Malik would give if the cause is the one he suspects.
The material to work on
Message from Sandrine, Tuesday 8.40am: “The old site has been showing a blank page with an error since this morning. Customers are calling us.”
What Malik knows: the old site is on shared hosting, production FTP access in the vault, port 22 responds over SSH. A form plugin updated itself overnight, according to the host's email.
Check your work
The request names the site, the access and the environment
She reads the error logs without changing anything
She asks for the probable cause and the proposed action, with its risk
The approval covers a single reversible action
The reply to Sandrine stays a draft
See the answers
The diagnosis
Wine merchant’s old site ([adresse]): error since this morning. Using the production FTP access for its shared hosting, read-only: the last 50 lines of the PHP error log, the modification date of the form plugin’s folder, and the HTTP response of the home page. State the access and route used, then the probable cause and the action you propose, with its risk. Don’t change anything.
Roughly what you should get
What to expect: “fatal error in the form plugin, updated at 3:12am” and the proposed action: disable it by renaming its folder.
Limited approval
Approved for this one action only: rename the form plugin’s folder to [nom]-desactive, nothing else. Then check that the home page returns 200 and the contact page displays. Prepare a three-line draft in Message for Sandrine: the site is back, the form is switched off while it is being fixed.
Roughly what you should get
What to expect: the command named, “production” noted in the log, “home page returns 200”, and a draft in Message, which Malik sends himself.
Level 3 · demanding case30 min
Sort the findings for an estate
Here are the open findings from six sites in an estate. Sort them, say which become a task, which become a quote and which are marked as normal, and write the request that creates the tasks after your sorting.
The material to work on
OPEN FINDINGS, STUDIO ESTATE, REPORT OF 16/11
1. Notary’s site · HIGH · vulnerable backup plugin, fixed version available · source: machine
2. Wine shop’s store · CRITICAL · suspected intrusion: unknown PHP file in the media folder · source: security review
3. Nursery’s site · MEDIUM · PHP end of life in five months · source: machine
4. Architect’s site · INFO · home page fingerprint changed · source: security review · the client redid their home page yesterday
5. Caterer’s application · HIGH · Node runtime end of life in two months · source: machine
6. Wine merchant’s old site · HIGH · two plugins removed from the directory · source: machine · switchover planned in ten days
Sites examined: 28 of 31; not examined: 3, for lack of SSH access.
Check your work
The suspected intrusion comes first, without delay
The architect's homepage change is marked as normal
End-of-life items become quotes, not immediate tasks
The wine merchant's old site isn't fixed ten days before it's retired
The three unchecked sites are noted
See the answers
Sorting
Finding
Decision
2
Straight away: urgent task, read-only first, inform the wine merchant
1
High-priority task: update the plugin, with a verified backup first
5
Quote for the runtime migration, to send this week
3
Quote for moving to a supported PHP version, to schedule
6
Nothing before the switchover; monitor, then archive the site
4
Mark as normal, with the reason
Not reviewed
Store an SSH credential or accept an inventory limited to the core and PHP
Create the tasks after triage
Create two tasks: “Examine the unknown file on the wine shop’s store”, urgent priority, assigned to Malik, due today, with the instruction not to delete anything before I approve; “Update the backup plugin on the notary’s site”, high priority, due Thursday, with a verified backup first. Mark finding 4 as normal with the note “home page redone by the client on 15/11”. Don’t touch any other finding.
Roughly what you should get
What to expect: two tasks created in the clients’ projects, finding 4 marked as normal and still listed, the others unchanged.
Every request to the project agent written in the course, including model answers, worked examples and practice exercises, sorted by module and lesson, with filters to find the right one.
For each lesson, the main exercise and the three graded practice exercises with their materials, to do on paper or alongside Nexus; all model answers are gathered at the end.
The course’s worked examples, from the first project to production: the situation, the request as it was written, the agent’s typical answer and what was checked before approving.
All the lessons in a single PDF: objectives, written course with its diagrams, tables and requests, common mistakes, exercise and key takeaways. The practice exercises and answers are in the workbook, the examples in the collection.
Your notes stay on this device; they are not sent anywhere.
A question for the tutor
A result that doesn’t match the model answer, a prompt that gets you nowhere, a case specific to your business: write to us with your prompt and the response you got. A Bonbay Académie trainer replies within 24 working hours, on your case.