AGENCY DEVOPS & INFRASTRUCTURE
When Your Host Triples Your Bill: The Tactical Playbook for Migrating an Agency Fleet of 200+ WordPress Sites
How we automated a 200+ site migration in under 30 days without commercial migration plugins, turned a corporate price shock into a comprehensive fleet security audit, and achieved zero downtime at the edge.
The Execution Challenge: Scaling from Strategy to 200 Live Cutoffs
In our previous breakdown of agency hosting models, we outlined the structural risks of hosting consolidation and private equity playbooks. On November 2, 2026, the hypothetical became operational: our long-term managed WordPress host notified us that our grandfathered agency plan was retired, replacing our ~$613/month rate with a new invoice of $1,749/month.
Faced with a 285% price increase and a polite “best of luck with your move” from account management, we had less than 30 days to move roughly 200 production client sites and 20 trailing environments. Here is the exact technical workflow, automation scripts, and audit playbook we deployed to execute the migration without commercial plugin overhead or client downtime.
1. The November 2nd Catalyst: When Loyalty Meets Private Equity
Since January 2023, our agency hosted our primary fleet on Liquid Web / Nexcess. We began on a 100-site plan and expanded to their 250-site tier, paying roughly $613.50 per month. The platform had proven stable, and in addition to our agency account, we managed or directed at least five or six independent client accounts on the platform ranging from single installs to full 250-site configurations.
On November 2, 2026, we received the consolidation notice: our legacy packages were sunset, and the new baseline for our fleet would be $1,749 per month.
Paying in twelve months what we previously paid across three years simply did not make economic sense. When we escalated to account management to discuss our tenure and aggregate account volume, the outcome confirmed the broader industry trend: independent agencies are no longer the target demographic for equity-backed hosting conglomerates.
We evaluated the immediate alternatives:
- Rocket.net: Premium performance and strong architecture, but their pricing tiers at the 200+ site mark were cost-prohibitive. Their parent entity (Hosting.com) offered dedicated hardware, but the workflow did not fit our operational model.
- Pressable: Technically competent, but required long-term contract lock-ins (three to five years) to reach acceptable unit economics.
- MDDHosting: A proven, independent provider with modern bare-metal options, LiteSpeed Enterprise, CloudLinux kernel isolation, and accessible, responsive support.
With MDDHosting provisioned, the primary challenge remained: how does a solo founder migrate 200+ production WordPress sites on a tight deadline without disrupting client businesses?
2. Why WordPress Migration Plugins Don’t Scale
When developers need to migrate WordPress sites, the standard instinct is to turn to plugins like All-in-One WP Migration, Duplicator, or Migrate Guru. For migrating three to five brochureware sites, plugins are acceptable. Across an agency fleet of 200+ sites, they introduce severe operational bottlenecks:
- The GUI Tax: The standard plugin workflow requires logging into Site A, generating a backup archive, downloading it locally or generating an API key, logging into a fresh WordPress installation on Site B, installing the companion plugin, uploading the payload, and walking through browser-based setup wizards. Doing this 200 times consumes dozens of wasted hours.
- Execution Timeouts: Browser-driven PHP processes are notoriously vulnerable to script execution timeouts and memory exhaustion during extraction on larger sites.
- Zero Stack Alignment: Migration plugins move WordPress data, but they cannot configure server-level caching layers, tweak PHP-FPM worker pools, provision databases, or configure kernel-level resource governance.
To move 200+ sites efficiently, we needed a headless, server-to-server engine that bypassed the WordPress administrative dashboard entirely.
3. The Automation Pipeline: Remote Triggers and Root Bash Deployment
Rather than managing discrete migrations manually, we built a two-part automated pipeline combining a lightweight utility plugin on the source server with root-level Bash scripts deployed on the destination CloudLinux server.
The Remote Source Trigger
Years ago, we developed an internal utility plugin for operational maintenance. We updated this plugin to accept a cryptographically secure remote execution key supporting two operating modes:
- Targeted Payload: Compresses
/wp-content/and executes a native MySQL database dump. - Full Environment: Generates a full filesystem and database archive.
Because this endpoint is triggered via an authenticated HTTP request, we can generate a complete backup remotely without logging into the source wp-admin dashboard.
Root-Level Orchestration Script
On our target MDDHosting server, we installed a custom Bash orchestration script at the root level and made it globally executable across our CloudLinux LVE accounts.
When executed from the command line, the script:
- Calls the source site using the remote key to initiate server-side archiving.
- Pulls the compressed payload directly server-to-server via
wget, bypassing local upload/download bandwidth. - Automatically provisions the local cPanel MySQL database, user, and password.
- Extracts the payload directly into
/public_html/. - Imports the database dump via native command-line MySQL.
- Rewrites database credentials and table prefixes in
wp-config.php. - Transitions the object cache: removes the Nexcess Object Cache Pro configuration, installs and activates the LiteSpeed Cache plugin, and configures connections to the server’s local Redis instance.
- Applies CloudLinux LVE resource profiles: 90% of our portfolio sits on our standard baseline profile, while high-traffic community and HOA portals are assigned expanded memory and CPU allocations.
Zero-Downtime DNS Switching via Cloudflare
All domains across our fleet are registered and managed directly through Cloudflare. In addition to wholesale ICANN pricing with zero registrar markups, Cloudflare provides near-instantaneous edge DNS updates.
To accelerate cutovers, our Bash script parses the target domain and generates a direct, clickable URL in the terminal output leading straight to that specific Cloudflare DNS zone file.
The cutover routine takes less than two minutes per site:
- Run the terminal script to pull, extract, and configure the site.
- Click the terminal-generated Cloudflare link.
- Update the A record to the new server IP and enable the Cloudflare proxy (shielding the origin server IP and providing edge-level security).
- Verify edge resolution. The cutover is instantaneous with zero propagation downtime.
Using this workflow, migration velocity scaled rapidly: 10 sites on Friday, 23 sites on Saturday, and 6 sites in two hours on Sunday alongside active administrative checks.
4. The Forced Fleet Audit: Finding the Silver Lining
Paying for an overlapping month of enterprise hosting during an unplanned migration is an unwelcome overhead expense. However, treating a forced migration as a comprehensive fleet audit transforms a logistical burden into a major long-term asset. Because every site passed through our provisioning pipeline, we enforced fleet-wide standards that had accumulated technical debt over years of operational growth.
1. Hardening Security via cPanel WP Toolkit
As each site lands on the new platform, it is registered into the cPanel WP Toolkit to apply consistent baseline security measures:
- Disabling XML-RPC system-wide.
- Enforcing read-only permissions on core configuration files.
- Migrating legacy
wp_database prefixes to randomized strings. - Enabling automated vulnerability scanning at the host level.
2. Transitioning AWS SES from SMTP to Native APIs
We route all agency transactional email through Amazon Web Services Simple Email Service (AWS SES). While reviewing client setups, we discovered that roughly half of our older sites were still utilizing legacy SMTP credentials rather than API connections.
Because outbound SMTP ports are disabled on our new server, we migrated all sites to direct AWS SES API connections. This provided the opportunity to audit IAM permissions, retire access keys that had been in rotation for 3 to 5 years, and generate fresh, least-privilege credentials.
3. Reclaiming Wasted Storage and Database Bloat
To keep our target server lean, we built a secondary Bash diagnostic script that scans the newly migrated directory and returns the total storage footprint, the top 10 largest upload folders, and the top 5 largest MySQL tables.
This audit immediately surfaced legacy bloat:
- Orphaned Full Backups: The script uncovered 800 MB to 1 GB archive zips dating back to manual testing in early 2025 that had been left sitting in web roots. Liquid Web had calculated our disk usage at 622 GB—a substantial portion of which was simply orphaned historical backup archives.
- Database Cleanups: On one small business brochure site, the script flagged a 145 MB database. Inspecting the top tables revealed obsolete audit logs and transient data left behind by decommissioned plugins. Dropping those unused tables immediately reduced the database from 145 MB to 70 MB.
- Within the first 40 sites migrated, we reclaimed over 5 GB of unnecessary disk bloat.
4. Decommissioning Ghost Sites and Standardizing Plugins
The audit also surfaced two sites belonging to clients who had formally canceled services months earlier, but whose environments had never been fully decommissioned from our server. Those were archived to cold storage and wiped.
Simultaneously, we retired legacy plugin choices—such as finishing our migration away from Formidable Forms in favor of our standardized Gravity Forms deployment—ensuring our new server launched with a unified, predictable codebase.
5. Technical Lessons for WordPress Agency Owners
A forced migration puts an agency’s technical sovereignty to the test. If you manage client infrastructure, three core principles will protect your margins and your sanity:
- Decouple Your Control Plane from Compute: Hosting platforms come and go, and pricing models inevitably change. By centralizing DNS and domain management at Cloudflare, our agency retained complete mobility. We were able to point 200+ production domains to a new provider in seconds without opening a single registrar ticket.
- Leverage AI as a Specialized DevOps Assistant: You do not need to memorize every
awk,sed, or MySQL command-line flag to build automated pipelines. You need to understand architecture, security boundaries, and data flow. Knowing how systems interact allows you to guide AI tools like Gemini to write exact, robust Bash automation—while retaining the technical judgment to know when an edge case is better handled manually. - Turn Vendor Disruption into Operational Hygiene: When faced with vendor consolidation, agency owners often accept punishing price hikes because the perceived cost of switching seems too high. By scripting the repetitive work, you can turn a vendor exit into an opportunity to harden security, strip out gigabytes of bloat, and upgrade performance.
Facing Forced Price Hikes or Outgrowing Your Hosting Setup?
Whether you are dealing with sudden pricing changes from consolidated hosting platforms, planning a large-scale WordPress migration, or seeking to automate fleet security and performance without ballooning overhead, we build infrastructure designed to last.
👉 Connect With Us: Reach out to discuss agency infrastructure, fleet automation, and WordPress DevOps.
