When a Client's Site Went Down: What I'd Do Differently
· Do Minh Tuan · Developer Corner 💻
It was around 11pm in Vietnam when our UK client's WordPress site went down. There was no obvious trigger and no error that explained it.
I'm the tech lead on the project. Four of us ended up working on it that night: me, one of my senior developers, my boss, and the client's infrastructure engineer.
My first decision: tell the client's infrastructure team
I contacted the client's infrastructure team straight away. I wanted them to hear it from us, and I wanted them in the investigation, not waiting for a report afterwards.
That mattered more than I expected. We had no access to the server or the file manager, only the WordPress admin. The client's engineer could see what we couldn't.
Working with almost no access
With only the WordPress admin, we couldn't read server logs, so we worked by elimination. We checked what had changed recently, then deactivated plugins one at a time and reloaded the site after each one to see whether it recovered.
The client's engineer checked the server side in parallel and told us what he saw. Between the two views, the suspects narrowed quickly.
Within the hour we had the cause: an outdated plugin was making the site unstable. The site was down for 1 hour in total.
Once we had the suspect, I guided the client's infrastructure team through updating the plugin. One of my senior developers and my boss were also involved on our side.
Keeping the client informed
I kept the client updated while we worked, and I stayed on call with them until the issue was fully resolved.
The cost: nothing
Keeping plugins updated is part of the client's infrastructure work. We helped anyway, as a matter of goodwill, and charged nothing extra.
What we agreed afterwards
Once the site was back, I suggested the client set a regular schedule for plugin updates, since an outdated plugin was the cause.
The mistake I made
I should have asked the client to take a backup before we pushed our changes to live.
Without a confirmed backup, we had no quick way back to a known-good state. The only option was to find the broken piece while the site was still down.
An hour of downtime is short, but it felt longer. A site that's down at 11pm for us is mid-afternoon for a UK business's customers.
My checklist before any push to a live site
This is the routine I follow now.
- Ask the client for a backup, and wait for confirmation that it finished before pushing anything.
- Ask who has access to the server and the file manager. If it's only the WordPress admin, plan the rollback from there.
- Check that plugins are up to date before the push, not after a failure.
- Name one person on each side to call if something breaks.
What to do before your next push
Before any change goes live on a client's site, ask for a backup and wait until it's confirmed. It takes a few minutes, and it's the only thing that lets you roll back if something goes wrong.
Drafted with AI assistance from my own notes; reviewed and edited by Do Minh Tuan.
Written with AI assistance, reviewed and edited by Do Minh Tuan.