A 22-person digital agency in Toronto — mostly B2B marketing sites, two D2C WooCommerce shops, one membership site for a national professional association — called us on a Tuesday afternoon in late March 2025. Their flagship client was three days into a paid media campaign and the site had been intermittently 502-ing for six hours. Their senior backend developer, ninety minutes deep in a hold queue with a US-based shared-host reseller, picked up the phone, said “we cannot keep operating like this,” and asked how fast we could look at the rest of the portfolio. Fourteen sites, four hosts, two senior developers spending thirty to fifty percent of their week on hosting tickets. Care-plan pricing untouched for three years because every conversation about it kept turning into a conversation about the last outage.
At a glance
- Fourteen WordPress sites consolidated from four hosts onto one isolated managed environment over ten weeks. No client-visible downtime on cutover.
- Inbound client support tickets down 68% at 90 days. Roughly forty senior-developer hours per month recovered for billable work.
- Mean acknowledged incident response moved from “whenever the host’s chat queue clears” to 19 minutes. Portfolio uptime 99.97% across the first 90 days.
- Infrastructure cost across the portfolio down 24%. Five care-plan retainers consolidated and repriced at a 12% uplift on the way through. Every client renewed.
The situation
The audit was not surprising in shape, only in volume. Five sites on a US-based WP Engine plan. Three on a GoDaddy Pro reseller account whose shared Bitwarden collection still listed two former employees. Four on Cloudways across two cloud providers (three had been migrated between providers in the prior eighteen months chasing price). Two on a legacy cPanel reseller inherited from a 2023 acquisition, with no SLA in writing. Plugin sprawl was the predictable picture: 38 to 91 active plugins per site, four sites still on PHP 7.4, one running a security plugin its vendor had deprecated fourteen months earlier. Every host did something for backups; nobody had structured-tested a restore; three sites had no offsite copies at all.
The part that mattered was the support model. When something broke, the agency’s account manager opened a ticket with whichever host owned it, and the senior developer was pulled in to translate between the host’s L1 and the client’s actual problem. On the cPanel sites, the senior developer was L1. No on-call rotation. His personal cellphone was effectively the escalation path for fourteen production sites.
What forced the change
The campaign-launch outage was, in the end, a memory exhaustion loop caused by a poorly behaved third-party tracking plugin the host had auto-updated two days earlier. The plugin was building a session table without an index, the table had crossed seven million rows, and every page load past a certain hour was timing out on SELECT before PHP could hand off to WordPress. The developer found root cause in twenty minutes once he had server-level access. Getting that access from the host’s chat support took five hours and forty minutes. By the time the fix landed, the campaign had been live for nine hours at a 17% effective error rate. That was the conversation we walked into. Not “make our hosting cheaper” — “we are losing the people who do our actual work to infrastructure we do not control.”
The plan
A single managed cluster — three application nodes behind a load balancer, managed MariaDB primary with a read replica, Redis for object cache, CDN in front — sized for the aggregate workload of the fourteen sites with headroom for two campaigns the agency had already booked for autumn. Same architectural pattern we use for single-tenant publisher workloads; the multi-tenant isolation work lives at the layer below. Each site gets its own Linux user, filesystem subtree under a dedicated mount, MariaDB database, PHP-FPM pool, and cgroups slice. A runaway WooCommerce import can pin its own pool’s workers but cannot take down a neighbouring marketing site.
; /etc/php/8.3/fpm/pool.d/client-archetype.conf
[client-archetype]
user = client-archetype
group = client-archetype
listen = /run/php/client-archetype.sock
pm = ondemand
pm.max_children = 24
pm.process_idle_timeout = 30s
pm.max_requests = 1000
request_terminate_timeout = 60s
php_admin_value[memory_limit] = 384M
php_admin_value[open_basedir] = /srv/sites/client-archetype:/tmp
Paired with a per-site systemd slice setting CPUWeight= and MemoryHigh= so noisy-neighbour behaviour shows up as latency on the misbehaving site, not as a portfolio-wide incident. Backups run nightly to offsite object storage with 7-day, 4-week, and 12-month retention, plus a quarterly restore drill against a randomly selected site.
Support is white-labelled. Clients keep talking to the agency’s account managers, who have a runbook for the three things they’re expected to do themselves — clean cache flush, known-good plugin rollback, opening a Sev-2 with us — and a documented escalation path. Sev-1 is acknowledged in under fifteen minutes, 24/7, by our on-call engineer working from runbooks our senior engineers wrote and review quarterly. A short courriel went to each client three weeks ahead of their migration: what was changing, what was not, what to expect, named contact at the agency.
Execution
Ten weeks, fourteen sites, in batches. The order of operations took the longest to settle. The instinct was to do the smallest and lowest-risk sites first — build confidence, prove the runbook, then take on the harder ones. We argued against it and went hardest-first: the two WooCommerce shops and the membership site went in weeks two and three, while every engineer was paying full attention. The failure mode we were most worried about was a six-week-in cutover where someone had built muscle memory on simple sites and missed something on a complex one. Doing the hard ones early stress-tested the runbook when we were paying the most attention to it.
Per site: sync to staging Monday, full smoke test and a real WooCommerce checkout (or membership signup) Tuesday, final delta sync and DNS flip on the agreed cutover night, an hour of pinned monitoring, restore-test against the new backup before the senior engineer signed off. Average measured edge downtime across the fourteen migrations: twenty-two minutes, against a four-hour window communicated to each client.
One site gave us trouble. A B2B marketing site with a custom search index on an older Elasticsearch plugin had a hard-coded path to a directory that did not exist on the new environment. The site came up, the homepage was fine, but search returned empty results for about forty minutes. The on-call engineer caught it on the post-cutover smoke test; the senior engineer who’d written that site’s runbook was paged at 11:40pm; path symlinked, index rebuilt, search back. The client did not notice. We logged the near-miss and added a search-results validation step to the migration checklist. Week ten was closeout — restore drills, handover of escalation paths, decommissioning of the four old hosting accounts, and the discovery of two SSL certificates the agency had been paying for that no longer terminated anywhere.
90 days after
The numbers landed where we hoped. Portfolio uptime: 99.97%. Mean p95 server response: 280 ms, down from a portfolio-weighted ~620 ms before consolidation. Inbound support tickets dropped 68% — mostly “the site is slow,” “I can’t update this plugin,” and “I think something is wrong with the contact form.” The two senior developers got back roughly forty hours a month between them, which the agency rebudgeted against two backlogged client projects they’d been quoting for nine months. Infrastructure cost across the portfolio dropped 24%. Five care-plan retainers were consolidated and repriced at an average 12% uplift — first pricing change in three years, and every client renewed. Mean acknowledged response was 19 minutes across 22 logged incidents; three were Sev-1, all resolved inside ninety minutes, none visible to the agency’s clients. The senior developer stopped carrying a work phone on weekends in May.
What we’d say to another agency in this position
Two things, neither glamorous. First: the host is rarely the actual problem. The actual problem is that nobody owns the operations boundary between your developers and your clients. You can move every site to a better host and still be on the phone every Friday afternoon if there’s no support model behind it. Consolidation worked here because a clearly defined escalation path now exists — documented severity, response targets, on-call coverage that doesn’t depend on one person being awake. That’s the thing to buy. The infrastructure is how you buy it.
Second: do not put off the hardest migration. The reflex to “build confidence” by doing the easy ones first costs you the attention budget you’ll need later. Move the things that scare you while they still scare you. By the time the runbook feels routine, you want to be migrating sites where routine is the right answer.
This is an example scenario: an illustrative engagement that shows how we approach this kind of work. It does not describe a specific client, and its figures are illustrative.
Running a portfolio that looks like this? Read about how we work with agencies on the Agency Partner page, or book a portfolio audit.