How a server works

When someone types your website's address into a browser, their computer connects to the server and requests the page. The server prepares it (with WordPress it assembles it from the database and files) and sends it back. It all happens in a fraction of a second and repeats with every click by every visitor.

A server is a computer without a monitor, housed in a data centre with air conditioning, backup power and a fast connection. You usually do not buy one; you rent it as hosting.

Why it matters

The server determines how quickly your website responds and whether it can cope with a rush of visitors. When it is overloaded, pages load slowly or not at all. For an online shop that means abandoned purchases; for a company website, people leaving for a competitor.

The server often hosts email, backups and other services too. A server outage can therefore take down both the website and company email at once.

A real-world example

An online shop selling Christmas decorations makes most of its revenue in November and December. One evening, during a TV advert, the server could not handle the rush and the shop was down for an hour. Since then it temporarily increases server capacity before the season and scales it back down after Christmas, so it pays more only when it really needs to.

Tips

  • Choose a server in Europe, ideally close to your customers.
  • Monitor uptime. Simple monitoring will alert you to an outage before a customer does.
  • Plan for the season. If your traffic comes in bursts, check that capacity can be increased quickly.
  • Up-to-date server software, such as the PHP version, affects both speed and security.

I regularly check server uptime and backups as part of website maintenance. If the server is no longer enough, I move the site to a more powerful one as part of a website migration.