The site is not working. What could be the reason?

Kamil Porembiński Kamil Porembiński

How often do you come across websites that don’t work? What do you do in such a situation? Do you keep refreshing the site until you get there or do you leave and never come back to it?

I’ve been in this situation more than once, and I don’t like to wait. I leave after a few seconds and look for a solution or products on another site.

The problem arises when it’s your site that doesn’t work, and annoyed users leave as quickly as they entered. How not to lose potential customers and effectively operate online? Do not allow the following problems to arise.

Reasons for website unavailability

The reasons can be many, ranging from those that will take a few minutes to fix to those that can take hours. The most common reasons for failure are:

  • domain expiration,
  • Unpaid hosting or server,
  • code update errors,
  • erroneous updates,
  • server failure,
  • Hacker intrusion – DDoS attacks.

How to check and solve the problem?

Domain expiration

Does it seem impossible to you? Ha! And this is a very common problem, even for large online services. The latest case was the disappearance of, which serves hundreds of accounting clients.

Where did the problem lie? On the user side. The person managing the domain should see to its renewal date. On the plus side, the protection period lasts from 30 to as long as 70 days, depending on the type of domain. There are also foreign domains that do not have a protection period. Therefore, check what period your domain covers. Protection is triggered from the first day of late payment. It is worth mentioning that after this time the domains go up for re-sale.

If you want to guard against this mistake:

  • Avoid a situation where the domains will be owned by another company, such as the one designing your store,
  • Don’t put off payment until the last day of the billing period. The operation of an online business is unpredictable, so it may happen that you miss a payment in the heat of other tasks.

The solution to the problem is to enable cyclic reminders that will inform us when we need to pay the domain. Another option is to set auto-renew the domain and plug in a payment card.

How to identify the problem? Very simply. The site shows the message “Failed to find dns server” or “Site is unreachable”. How to confirm that the domain is the problem? Go to one of the search engines for domain information, for example. WHOIS, enter the domain name and check its “Expires on” date. This will be the expiration date of our site. We will also see this information in the administration panel at the provider where we subscribed to the service.

In order for the domain to become operational, it must be paid immediately. Domain providers provide various payment methods. It is best to choose those where payments go through automatically and quickly.

Unpaid hosting

It’s time to check the server where you store all your databases. An unpaid domain is one thing, and another is an unpaid server. The situation is as often repeated as unpaid domains. However, it is much more serious. The hosting company can delete it along with all the data and backups.

In such a situation, contact the hosting company as soon as possible and pay for your server. In addition, the notification of upcoming payment enabled when registering an account with a given service provider should solve the problem.

Code update errors

Modified files often cause a lot of problems. Mainly due to minor errors in the code. When making changes, we need to check the correctness of the data. Helpful tools are PHP code validation applications that we can run in the browser: sample program.

Having a ready-made CMS like WordPress avoids the problem of making changes directly in the code. However, we can’t always make every modification via an off-the-shelf solution, so changes to the site’s direct code are inevitable.

How to solve the problem? In addition to ready-made applications from the browser, we can create a test environment. It is a kind of copy of our target site. The difference is that we can test various changes on it, without worrying that the homepage will stop working. Customers don’t see bugs, and your team can test different versions.

Erroneous updates

The PHP version should be periodically upgraded to its most current version. This prevents security gaps in the first place. Unfortunately, sometimes it happens that the latest PHP is not supported by our CMS. That’s why you should check if your CMS is tuned to the latest PHP version before implementing the upgrade.

How to deal with this problem? Don’t do the upgrade yourself, especially if you haven’t done it before. Take advantage of the help of experienced Specialists who will carry out the upgrade flawlessly overnight. As a result, you will not feel any change.

However, if you decide to update PHP on your own, prepare a backup of the site’s system beforehand and start testing the changes on it. A larger or new server may also be useful if your site is currently saturating the available space.

Server failure

A website has it that it always has to be hosted on a server. Whether you buy hosting, dedicated server or put it in the cloud. It is always a kind of server.
It so happens that the infrastructure stops working. The site is unavailable and the server is not responding. It is worth noting that the problem does not always lie with the service provider, and even if it does, failures happen in every hosting company. However, a common problem is that the server capacity is underestimated, so that a lot of traffic on our site causes inaccessibility on the user side.

Is it possible to analyze this problem in real time? Of course. It is responsible for monitoring the server 24 hours a day. Buying server administration services helps to guard against performance problems. In addition, the service watches over the need to purchase a larger server, backup, domain renewal or SSL certificates.

Cybercriminal intrusion

The worst-case scenario is DDoS attacks , that is, attacks are directed at computer systems to take control of all available resources stored on a given system. The attack is carried out at the same time from multiple locations simultaneously. Using special software, hackers gain access to your data, then use it against you.

A basic step to prevent cybercriminals from getting into the site is to set up appropriate security firewalls. Enabling them helps detect dangers much faster.


There is another problem that may seem insignificant. Internet connection problem. It’s a good idea to glance at the network connection icon before checking all the previous points.

Is the site working? Great! I’m glad I could help.

However, if checking the listed items did not help and your web pages still do not work. Write to me. I will check the reason for the failure and give you a hint as to what needs to be changed.


Do you have questions? Get in touch with us