Blog

What happens when a website goes down and the problem is the hosting

|  Jordi Genescà Prat

Hosting

What happens when a website goes down and the problem is the hosting

A website stops loading. An error appears. The admin panel does not respond. Forms stop working, or the page takes so long to open that it seems completely down.

The first reaction is often to think: “the hosting is not working”.

But a website can become unavailable for many reasons, and not all of them originate directly from the server.

The problem may be in the application itself, the database, a DNS configuration, a certificate, an update or an external integration. It may also be that the hosting is working, but does not have enough resources to handle the load it is receiving.

That is why, when a website goes down, the important thing is not only to get it working again.

It is also necessary to understand what happened so the same problem does not keep recurring.

A website being down does not always mean the server is down

When a user cannot access a website, the result looks the same from the outside: the page does not work.

Technically, however, very different things may be happening.

The server may be completely inaccessible, but it may also still be running while an application is generating errors. The database may not be responding, the domain may be pointing incorrectly or the website may have exhausted the available resources.

It is even possible for the homepage to load while specific functions fail, such as the private area, ecommerce, forms or the administration panel.

That is why, before attributing the incident to the hosting, it is important to identify which parts of the service are affected.

Knowing whether the whole infrastructure is failing or only one specific function can greatly speed up the diagnosis.

Overloaded server and resource limits

One hosting-related cause may be the saturation of available resources.

A website needs processing power, memory, storage, connections and other resources to handle the requests it receives.

When demand exceeds the available capacity for a certain period of time, the server may start responding more slowly or may stop processing some requests altogether.

This can happen, for example, after launching a campaign that generates a traffic spike, during a promotion, following media coverage or simply because the project has grown progressively over time.

It can also happen even if the number of visits has not increased significantly. A poorly optimised feature, a plugin, an automated process or a particularly heavy database query can consume a large amount of resources.

Here, it is important to distinguish between a one-off incident and a sizing problem.

If a website occasionally exceeds its resources because of an exceptional situation, the solution may be different from what is needed by a project that is constantly operating close to its limits.

A 500 error is a signal, not a diagnosis

One of the most common messages when something goes wrong on a website is a 500 error.

This code indicates that an internal problem occurred while processing the request, but on its own it does not explain what caused it.

The source may be an incorrect configuration, a PHP problem, permissions, an update, a plugin, a script, insufficient memory or another issue in the application or server.

That is why seeing a 500 error does not automatically mean that “the hosting has gone down”.

To find the cause, it is necessary to review logs, recent changes and the state of the environment at the moment the failure occurred.

Having technical information and support capable of interpreting it can significantly reduce the time needed to identify the source of the incident.

The database can also take a website offline

Many modern websites depend constantly on a database.

WordPress, ecommerce platforms, private areas, content management systems and many applications query stored information whenever a user performs certain actions.

If the database stops responding, runs out of resources, reaches certain limits or experiences a connection problem, the website may stop working even though the server remains online.

The symptoms may vary.

Sometimes a database connection error appears directly. In other cases, certain pages load extremely slowly or stop displaying correctly.

This type of incident shows why, when analysing an outage, it is not enough to check whether “the server is on”.

All the components the service depends on need to be reviewed.

Traffic spikes can put the infrastructure under pressure

A campaign that performs better than expected should be good news.

But it can also become a problem if the infrastructure is not prepared to handle the increase in visits.

Traffic spikes concentrate many requests into a short period of time and can significantly increase CPU, memory, database or simultaneous connection usage.

At that point, slowness, intermittent errors or even a complete outage may appear.

That is why major campaigns, promotions, launches or actions that are expected to generate more visits should also be planned from a technical point of view.

It is not always necessary to permanently contract much more capacity. The important thing is to understand the expected behaviour and check whether the infrastructure has enough capacity to handle periods of higher demand.

DNS problems can look like a hosting outage

Some incidents appear to be related to hosting, but actually happen before the request reaches the server.

DNS is the system that links a domain to the corresponding services. If there is an incorrect configuration, a poorly applied change or a resolution problem, users may stop being able to access the website even though the server is working correctly.

This is especially relevant after provider changes, migrations, DNS changes or the configuration of new services.

That is why, when a website stops responding, it is also worth checking that the domain is resolving correctly to the right infrastructure.

Hosting and DNS are closely related from the user’s point of view, but technically an incident in one does not necessarily mean the other has failed.

Without monitoring, many incidents are discovered too late

A company should not have to rely on a customer telling them that their website is down.

Monitoring makes it possible to detect availability and performance problems before, or shortly after, they have a significant impact.

And it is not just about knowing whether a page responds or not.

Good monitoring can help detect unusual behaviour, performance degradation or resources approaching their limits.

This information is also useful for understanding what was happening before an incident.

If we know that resource consumption had been rising for hours, that the database was responding more slowly or that there was a sudden traffic spike, identifying the cause becomes much easier than starting the diagnosis with no context.

Monitoring turns “the website does not work” into an incident with data that can be investigated.

Support response time is also part of hosting

When a website is down, every minute can matter.

Especially if it is an ecommerce site, a platform used by customers, a website receiving traffic from campaigns or a service on which part of the business depends.

In these situations, technical support stops being a secondary feature of hosting.

It is important to be able to contact someone who can review the infrastructure, interpret the errors and help determine whether the source is the server, the application, the database, DNS or another component.

A fast response does not only mean getting the website back online.

It also means understanding what happened, assessing whether there is a risk of it happening again and determining what changes should be made.

Preventing an outage starts before the problem appears

It is not possible to guarantee that a website will never experience an incident.

It is possible to reduce the risk and, above all, to be better prepared when it happens.

Prevention starts with correctly sizing the hosting according to the real needs of the project, keeping website components updated, having recoverable backups and monitoring resource consumption.

It is also important to anticipate special situations. If a major campaign, promotion or launch is expected to multiply traffic, reviewing the infrastructure before it goes live can help avoid problems at the worst possible moment.

Monitoring and technical support capable of acting when an incident is detected should also be part of the equation.

Because the difference is not only whether a website can go down.

It is also how long it takes to detect the problem, understand what caused it, restore the service and prevent it from happening again.

Good hosting also proves its value when something goes wrong

When everything is working correctly, the differences between hosting solutions may be less visible.

It is during an incident that aspects such as monitoring, resource sizing, backups and technical support really become important.

At Entorno Digital, hosting is approached by considering not only the space needed to host a website, but also its performance, availability, security, monitoring, support and ability to respond to the evolution of the project.

The aim is not to assume that there will never be an incident.

It is to have an infrastructure and a team capable of detecting it, understanding it and resolving it as quickly as possible.

Entorno Digital
What happens when a website goes down and the problem is the hosting