I am going to tell you two stories about breaking my own website. I caused both myself, within a few days, while trying to make it safer.
I am not writing them out of penance. I am writing them because in both cases the site opened perfectly normally. No red screen, no error message, nothing. And that is the real subject here, not the technical detail.
First time: the site was wearing somebody else’s clothes
I applied a security setting that is correct and that everybody who knows their trade applies. The setting went in, the site opened, everything worked.
Except the fonts. They had stopped loading, and every visitor was seeing the site in whatever font their own computer happened to have.
Now notice why I did not spot it. My own machine has the site’s fonts installed, because I built it. So to me it looked almost right. On a stranger’s machine it was a different site, a different tone, a different feel.
I opened it dozens of times that week. Nothing screamed.
Second time: the search that did absolutely nothing
The second one is worse, because it was not even hidden. It was in front of my eyes.
The site’s search had stopped working. Not returning the wrong results, not running slowly. Doing nothing.
The field was right there. You could type in it perfectly well. You pressed Enter. And the page stayed exactly as it was.
You will ask the obvious: did you not test it? I did. On my own computer, where it worked flawlessly. And here is the lesson worth more than the rest of this article: the developer’s computer is not your server. It has different settings and does not apply the same rules. A feature can pass every local test and be dead the moment it goes up.
Not everything breaks the same way
Let us separate these, because this is where the substance is.
When a site goes down, you find out. A customer calls, or you see it, or somebody shouts. Unpleasant, but it gets fixed within the hour.
But when the site opens normally and one part of it has stopped working, nobody finds out. The visitor who typed in the search and got nothing does not ring you to mention it. They think “I must be doing this wrong” or “what a terrible site”, and they leave.
And nobody counts that person. In your statistics they look like a visit that did not buy. They do not appear anywhere as “tried and could not”.
That is why a silent failure costs more than an outage. The outage lasts an hour. The silent one lasts until somebody stumbles on it.
What breaks is what you do not look at
What breaks silently is almost never the home page. Everybody opens the home page and a problem there shows immediately. It is the other things that break, the ones customers use and you do not: the search, the form, the checkout, and very often the mobile version, which is where half your visitors come from, if not more.
If you want a single sign of whether there is a problem: when somebody sends a real message through your site’s form, does it reach you?
The eye that did not make the change
There is a rule here that we all pay for until we learn it: the person who made the change is the worst person to check it.
Not because they are careless. Because they know where to look, and they see what they expect to see. I was opening my site and seeing my site, in its own fonts, because that is how I knew it.
That is why checking after a change is a separate job, with its own way of doing it, which is learned in practice. And the same eye that made the change does not do it well.
How you find out without going looking
That covers the moment of a change. What remains is the worse scenario: something breaks without you having changed a thing.
It happens, and often. A third-party tool updates itself and changes behaviour. A service your site relies on stops. A certificate expires on a Saturday night.
This is where monitoring comes in, and note what kind. Most tools tell you only whether the server answers. Useful, but it answers the wrong question. “The site is up” does not mean “the site works”. In both stories above the site was up, and every such tool would have reported all clear.
There is a way to monitor whether the site actually works, not only whether it is up. That is not a luxury for large companies. It is the difference between finding out in an hour and finding out three weeks later from a customer who has since gone elsewhere.
So do not change anything, then?
Exactly the opposite, and I want to say it plainly because it is the easy wrong conclusion.
A site nobody touches is not safe, it is forgotten. It ages, it opens holes, it stops being true. If I hesitated to apply security settings because I walked into it twice, I would have a site that is less secure and just as prone to failures. The same applies to everything our article on website security covers.
Change is not the risk. The risk is a change without the checking that should follow it.
Twice, and both times my own doing
I started by saying I broke my site twice while trying to make it better. I would do both again, with one difference: I would have walked through it as a customer afterwards, instead of looking at it as its builder.
Because the real lesson was not technical. It was that a failure which does not scream is more dangerous than one that takes the site down. The failure that takes the site down, you learn about in ten minutes. The silent one looks you in the eye and tells you everything is fine.
If you change things on your site and are not sure what has quietly stopped working, we look at it with you and give you our findings in writing. In our maintenance and support plans, stepping in when something breaks is a contractual obligation. Send us through the form your site address and anything that has looked odd lately.
The whole picture: this article covers one part of a larger subject. If you are after the whole of it, from beginning to end, it is in the guide to security and legal on your website.