Skip to content

Uptime checks

Wodby requests your custom domains once a minute from outside Wodby, from more than one location. If a domain stops answering, Wodby records a task on the app environment and emails your organization admins. It does the same when the domain comes back.

Uptime checks are available on paid plans. You don't need to set anything up: a check starts automatically once a domain has resolved.

  • A domain with a Let's Encrypt certificate starts after the certificate is issued.
  • Any other domain starts once its hostname resolves to a public address.

If your organization moves to the free Developer plan, its checks stop.

Included checks

Paid plans include uptime checks for 10 domains in your organization. Each switched-on check uses one, whichever environment its domain is in.

New domains are switched on automatically, oldest first, until all 10 are in use. After that, new domains start with their check switched off. A domain whose check started switched off stays off until you switch it on.

Extra domains

You can switch on checks for more than 10 domains yourself. Each extra domain with its check switched on costs $1 a month. The charge appears as Uptime checks on your organization's billing page and invoices.

Charges are prorated: an extra domain switched on mid-month costs only for the rest of the month, and switching it off credits the unused part on your next invoice. See billing.

Extra checks count toward your organization's spending limit like other addons. If switching on another check would exceed the limit, Wodby refuses it. You can always switch a check off or change its settings.

Domains that can't be checked, listed below, don't use any of the included checks.

What is checked

Each hostname in an environment has one check, shared by all of its paths. The check sends a GET request to the hostname's main or primary path, or otherwise to its shortest path. You can choose another path in the check's settings. It uses HTTPS when the domain has a certificate and HTTP when it doesn't.

These have no uptime check, and you can't switch one on:

What counts as down

A check fails when:

  • the hostname doesn't resolve, or resolves to a private address
  • the connection fails
  • the TLS certificate can't be verified, for example because it expired or doesn't cover the hostname
  • the domain doesn't answer within 10 seconds
  • the response is a 5xx status
  • the response is a 4xx status, if the check requires a success response

A domain counts as down when this happens in two checks in a row and a second location agrees. A short network problem or a single failed request doesn't cause an alert.

A domain must pass once before it can alert. A domain that has never answered, such as an old hostname that no longer points to your app, doesn't send any alerts.

A domain counts as up again after two passing checks in a row.

By default, every other response counts as up, including redirects, 401, 403, 404, and 429. A check then shows that something answers, not that your app works correctly:

  • A site behind Basic Auth answers 401, so the check only shows that something answers.
  • Wodby doesn't follow redirects, so a redirect counts as up even if its destination is down.
  • A domain behind a proxy or CDN may answer from the proxy while your app is down.
  • A firewall that answers checks with 403 counts as up, so a check can miss an outage behind it.

To check more strictly, point the check at a health endpoint of your app and require a success response.

Checks keep running during deployments. A deployment that makes a domain fail two checks in a row is reported as an outage.

Check settings

Open the domain from Apps > [App] > [Environment] > Endpoints > Domains to switch its check on or off or change its settings. The settings apply to every path of that hostname.

  • Path: a path to request instead of the route's own, such as a health endpoint like /health. It can include a query string, for example /health?full=1. It must start with / and can't point to another host. Leave it empty to request the route's own path.
  • Require a success response: only 2xx and 3xx responses count as up, so 401, 403, or 404 counts as down. This is off by default. If your domain uses Basic Auth, choose a path that doesn't require a password, or leave this off.

You can also use the API: send PUT /v1/app-routes/{id}/uptime-check with any of enabled, path, and requireSuccess, for example {"enabled": false}.

Switching a check back on requires a paid plan. Beyond the included 10, it becomes an extra domain. The domain must pass once again before it can alert.

See all checks

The organization's list of uptime checks shows every checked domain in the environments you can access, with:

  • its status and latest result
  • its uptime over the last 30 days
  • how many outages it had over the last 30 days

It also shows how many of your organization's included checks are in use, counting every environment, including ones you can't access.

Uptime over 30 days counts from when Wodby first saw the domain resolve, if that was less than 30 days ago. Each outage counts from when Wodby confirmed it, so short outages can read slightly shorter than they were.

The API lists the same checks with GET /v1/uptime-checks.

Outage and recovery alerts

Each outage and recovery appears as an automatic task on the app environment, with a title such as Domain example.com is down or Domain example.com recovered. You can find these tasks in the app's task list. The down task's log shows why the check failed.

Wodby also emails organization admins about each outage and recovery. Each admin can turn these emails off for themselves with the Custom domain outages and recoveries setting in their notification settings. Tasks are recorded either way.

A domain that keeps going down and coming back sends at most one down email per 30 minutes. If an outage ends before its down email is due, Wodby sends no email about it. You only get a recovery email for an outage you were emailed about.

Domains down for 7 days

After a domain has been down for 7 days, Wodby checks it once an hour and sends admins one email about it. If the domain no longer points to Wodby, switch off its check or remove the domain.

If the domain comes back, one passing check ends the outage, Wodby emails admins, and checks return to once a minute.

When checks don't run

Checks don't run while an app environment is paused or in maintenance mode, or while it is being created, imported, paused, resumed, migrated, or deleted.

These actions end an open outage without a recovery email:

  • switching off the domain's check
  • disabling the domain's routes
  • pausing the app environment
  • turning on maintenance mode

When an action ends an open outage this way, the check starts over. Once checks run again, the domain must pass once before it can alert.

Requests in your logs

Each checked domain gets one request a minute in your access logs, with a user agent that starts with WodbyUptimeCheck/1.0. A domain that is failing can get a few more, because other locations confirm the failure.

These requests count as normal traffic for your app and rate limits. To leave them out of your analytics, filter by the user agent.

The requests come from changing IP addresses, so you can't allowlist them by IP. If a firewall drops requests from addresses it doesn't know, the check fails and the domain is reported as down. In that case, switch off the domain's check.

Don't use the user agent to grant access. Anyone can send the same value.