Diensten Tarieven Blog Over ons Contact
|
Server racks in een datacenter

Website niet bereikbaar? Zo los je downtime op Website unreachable? How to fix downtime

Je website is offline. Klanten kunnen je niet bereiken, zoekverkeer loopt mis, en elke minuut kost potentieel geld. De neiging is om in paniek dingen te gaan proberen. maar een systematische diagnose brengt je sneller bij de oplossing.

1. Eerste diagnose: waar ligt het probleem?

Downtime heeft altijd een specifieke oorzaak. De eerste vraag is: ligt het aan jouw kant of aan de server?

Lees ook: WordPress gehackt? Stap-voor-stap herstelplan

Is het alleen voor jou down?

Check via downforeveryoneorjustme.com of isitdownrightnow.com. Als alleen jij het probleem hebt: flush je DNS cache, probeer een andere browser, of schakel je VPN uit.

Welke foutmelding krijg je?

De foutcode vertelt veel: ERR_NAME_NOT_RESOLVED = DNS probleem. ERR_CONNECTION_TIMED_OUT = server reageert niet. 5xx error = server draait maar heeft een probleem.

Hulp nodig? Bekijk onze website hulp utrecht pagina.

Ping de server

Open een terminal en ping je domein. Geen reactie? Dan is de server zelf niet bereikbaar.

Terminal: Basisdiagnose
# Reageert de server?
ping jouwdomein.nl

# DNS opzoeken: welk IP-adres is gekoppeld?
nslookup jouwdomein.nl

# Route traceren naar de server
traceroute jouwdomein.nl    # Mac/Linux
tracert jouwdomein.nl       # Windows

2. DNS-problemen

DNS vertaalt je domeinnaam naar het IP-adres van je server. Als DNS niet werkt, vindt niemand je site. ook al draait de server prima.

SymptoomOorzaakOplossing
ERR_NAME_NOT_RESOLVEDDNS-records ontbreken of zijn verkeerdCheck A/CNAME records bij je registrar
Site toont verkeerde contentDNS wijst naar oud IP-adresUpdate het A-record naar het juiste IP
Werkt na domeinverhuizing nietDNS-propagatie duurt tot 48 uurWacht af, of verlaag TTL vooraf naar 300

Tip

Gebruik dnschecker.org om te zien of je DNS-records wereldwijd zijn doorgevoerd. Zo weet je of het probleem bij propagatie of bij configuratie ligt.

3. Server- en hostingproblemen

Server reageert niet of geeft 5xx fouten? Mogelijke oorzaken:

Server overbelast: te veel verkeer, te weinig resources. Vaak bij shared hosting.

Schijf vol: logs, backups of uploads vullen de schijf. Check met df -h op Linux.

PHP-processen vastgelopen: een slecht geschreven script blokkeert alle PHP workers.

Hostingprovider storing: check de statuspagina van je host.

SSL-certificaat verlopen: browsers blokkeren de verbinding met een waarschuwing.

Schijf vol?

Veelvoorkomende boosdoener: error logs die gigabytes groot zijn geworden. Check /var/log/ en je WordPress debug.log. Eén kapotte plugin kan miljoenen regels errors genereren.

4. WordPress-specifieke oorzaken

Mislukte update: Check of er een .maintenance bestand in de WordPress root staat. Verwijder het.

wp-cron overbelasting: Op drukke sites kan wp-cron de server platleggen. Schakel het uit en gebruik een echte server-cron.

Plugin conflict na update: Hernoem de plugins-map via FTP om te testen.

wp-config.php: wp-cron uitschakelen
// Schakel WP-cron uit (gebruik server cron in plaats daarvan)
define('DISABLE_WP_CRON', true);
crontab: Server cron als vervanging (elke 5 minuten)
*/5 * * * * wget -q -O /dev/null https://jouwdomein.nl/wp-cron.php

5. Downtime voorkomen met monitoring

Je wilt niet dat een klant je vertelt dat je site offline is. Stel monitoring in die je direct waarschuwt:

ToolChecksGratis plan
UptimeRobotHTTP, ping, poort, keyword50 monitors, 5 min interval
Hetrix ToolsUptime, blacklist, SSL expiry15 monitors, 1 min interval
Better UptimeHTTP, heartbeat, incidenten10 monitors

Belangrijkste takeaway

Werk systematisch: is het DNS, de server, of WordPress? Gebruik ping, nslookup en de browser-foutmelding om het probleem te lokaliseren. En stel monitoring in zodat je volgende keer vóór je klanten weet dat er iets mis is.

Gerelateerde artikelen

Your website is offline. Customers can't reach you, search traffic is lost, and every minute potentially costs money. The tendency is to panic and start trying things, but a systematic diagnosis gets you to the solution faster.

1. First diagnosis: where is the problem?

Downtime always has a specific cause. The first question is: is it on your end or on the server?

Is it down just for you?

Check via downforeveryoneorjustme.com or isitdownrightnow.com. If only you have the problem: flush your DNS cache, try a different browser, or disable your VPN.

What error message do you get?

The error code tells a lot: ERR_NAME_NOT_RESOLVED = DNS problem. ERR_CONNECTION_TIMED_OUT = server not responding. 5xx error = server is running but has a problem.

Ping the server

Open a terminal and ping your domain. No response? Then the server itself is unreachable.

Terminal: Basic diagnosis
# Is the server responding?
ping yourdomain.com

# DNS lookup: which IP address is linked?
nslookup yourdomain.com

# Trace route to the server
traceroute yourdomain.com    # Mac/Linux
tracert yourdomain.com       # Windows

2. DNS problems

DNS translates your domain name to your server's IP address. If DNS doesn't work, nobody can find your site, even if the server is running fine.

SymptomCauseSolution
ERR_NAME_NOT_RESOLVEDDNS records missing or incorrectCheck A/CNAME records at your registrar
Site shows wrong contentDNS points to old IP addressUpdate the A record to the correct IP
Doesn't work after domain transferDNS propagation takes up to 48 hoursWait, or lower TTL to 300 beforehand

Tip

Use dnschecker.org to see if your DNS records have propagated worldwide. This tells you whether the problem is propagation or configuration.

3. Server and hosting problems

Server not responding or giving 5xx errors? Possible causes:

Server overloaded: too much traffic, too few resources. Common with shared hosting. Disk full: logs, backups or uploads fill the disk. Check with df -h on Linux. PHP processes stuck: a poorly written script blocks all PHP workers. Hosting provider outage: check your host's status page. SSL certificate expired: browsers block the connection with a warning.

Disk full?

Common culprit: error logs that have grown to gigabytes. Check /var/log/ and your WordPress debug.log. One broken plugin can generate millions of lines of errors.

4. WordPress-specific causes

Failed update: Check if there's a .maintenance file in the WordPress root. Delete it. wp-cron overload: On busy sites, wp-cron can bring the server down. Disable it and use a real server cron. Plugin conflict after update: Rename the plugins folder via FTP to test.

wp-config.php: Disabling wp-cron
// Disable WP-cron (use server cron instead)
define('DISABLE_WP_CRON', true);
crontab: Server cron as replacement (every 5 minutes)
*/5 * * * * wget -q -O /dev/null https://yourdomain.com/wp-cron.php

5. Preventing downtime with monitoring

You don't want a customer telling you that your site is offline. Set up monitoring that alerts you immediately:

ToolChecksFree plan
UptimeRobotHTTP, ping, port, keyword50 monitors, 5 min interval
Hetrix ToolsUptime, blacklist, SSL expiry15 monitors, 1 min interval
Better UptimeHTTP, heartbeat, incidents10 monitors

Key takeaway

Work systematically: is it DNS, the server, or WordPress? Use ping, nslookup and the browser error message to localize the problem. And set up monitoring so next time you know before your customers that something is wrong.