What Web-Check does
Web-Check is an open-source web tool, released under the MIT license. You enter a domain name or an address, and it runs about forty checks in parallel: DNS records and DNSSEC, TLS certificate and connection, HTTP headers and security policy, redirects, email configuration, cookies, robots.txt, sitemap, detected technologies and a screenshot of the page.
Each result is shown in a card, and each check also answers in JSON through an API. The project's public service is often overloaded or rate-limited; your own instance analyses as many sites as you need, from your server.
What the analysis covers
- DNS — A, AAAA, MX, NS, TXT and CAA records, DNS server and DNSSEC signature.
- TLS — issuer, validity dates, covered names and certificate chain, HSTS.
- Security headers — Content-Security-Policy, X-Frame-Options, Referrer-Policy, Permissions-Policy.
- Email — MX servers, SPF and its DNS lookup count, DMARC, DKIM.
- Content — redirects, cookies, trackers, robots.txt, sitemap, security.txt.
- Context — detected technologies, server location, screenshot.
Online tools vs. Web-Check on your VPS
Scroll the table
| Separate online tools | Web-Check on your VPS | |
|---|---|---|
| Number of tools | One per check | A single report |
| Usage limits | Quotas and queues | Those of your server |
| Automation | Rarely an API | JSON API per check |
| Analysed sites | Visible to the service | Stay on your server |
| Cost | Free or subscription | A small VPS |
Prepare the server
Plan for an Ubuntu 24.04 VPS with 1 GB of RAM. Web-Check fits in a single Node.js container, with a bundled Chromium for screenshots, and has no database: about 70 MB of memory at rest, up to about 200 MB during an analysis.
Install Docker and create the application's folder:
apt update && apt install -y docker.io docker-compose-v2
mkdir -p /opt/web-check && cd /opt/web-checkInstall Web-Check with Docker Compose
Write the docker-compose.yml file
The port is published on
127.0.0.1only: the interface does not answer from outside. The twoAPI_variables close the risky checks and the internal targets (see the next box).services: web-check: image: lissy93/web-check:2.4.5 restart: unless-stopped environment: PORT: "3000" API_DISABLED_CHECKS: "ports,trace-route" API_BLOCKED_HOSTS: "localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,100.64.0.0/10" ports: - "127.0.0.1:8131:3000" healthcheck: test: ["CMD", "node", "/app/healthcheck.js"] interval: 15s timeout: 5s retries: 10 start_period: 30sStart the container
The image's health check answers on
/healthzwithin a few seconds:docker compose up -d docker compose ps curl -s http://127.0.0.1:8131/healthzThe answer
"status":"ok"with"ready":truemeans that every check is loaded.Open the interface through an SSH tunnel
From your computer, open a tunnel to the server's local port, then go to
http://localhost:8131in your browser:ssh -N -L 8131:127.0.0.1:8131 root@<your-vps-ip>As long as the tunnel is open, the interface is yours alone.
What the configuration closes, and why
Web-Check can scan the ports of the analysed machine and run a traceroute to it. Run from your VPS against servers that are not yours, these two checks look like a network scan, and can earn your IP address abuse reports. API_DISABLED_CHECKS disables them.
API_BLOCKED_HOSTS refuses localhost and the private ranges as targets: nobody can use the tool to probe your own server or your internal network. The filter applies to the address entered, not to the result of DNS resolution: it is an extra safeguard, not isolation.
Publishing the interface on a domain, with care
Web-Check has no accounts and no password. Publishing it on a domain therefore opens it to everyone: any visitor could run analyses from your server. The SSH tunnel remains the right answer for team use.
If you want a permanent address, put it behind nginx with HTTPS and HTTP basic authentication (auth_basic and a file created with htpasswd), or behind your identity provider. Keep the port published on 127.0.0.1: only nginx should be able to reach it.
Reading a report
Enter a domain, for example your own site's, and start the analysis. The cards fill in as the checks complete. Three of them reveal most common flaws:
- TLS certificate: the expiry date, and the covered names. A certificate that does not cover www is an outage waiting to happen.
- Security headers: every missing header is flagged. Start with Strict-Transport-Security and Content-Security-Policy.
- Email configuration: an SPF record that exceeds ten DNS lookups is invalid, and a domain without DMARC lets anyone send in its name.
A few cards show "skipped": either the site lacks the element being checked (no sitemap), or the check requires an API key (next section).
Query the API from a script
Each check is an API route: /api/<check>?url=<site>. The /api route on its own returns the full report in one call. On the server, or through the tunnel:
curl -s 'http://127.0.0.1:8131/api/ssl?url=example.com' | jq '.valid_to'
curl -s 'http://127.0.0.1:8131/api/http-security?url=https://example.com'
curl -s 'http://127.0.0.1:8131/api?url=example.com' > report.jsonA monitoring script can thus record every night the expiry date of the certificates of a portfolio of domains, or check that a header is still present after each release. The full report takes a few seconds; space out your calls if you analyse dozens of domains.
Optional API keys and updates
Most checks work without any configuration. A few query external services that require a key: Google's quality score and Safe Browsing (GOOGLE_CLOUD_API_KEY), and Shodan (SHODAN_API_KEY). Add them to the environment section of the file, then run docker compose up -d again.
Web-Check keeps no data: there is nothing to back up apart from the docker-compose.yml file. To update, change the image tag to the version you want, as published on the project's releases page:
cd /opt/web-check
# change the image tag in docker-compose.yml, then:
docker compose pull && docker compose up -d
docker image prune -fInstall Web-Check in one click from the ServOrbit Marketplace
The ServOrbit Marketplace installs this same configuration on your VPS: official image, port scanning and traceroute disabled, internal addresses refused as targets, interface published on the loopback. The application works without a domain: you open it through an SSH tunnel, using the port shown in your client area.
All that is left is to run your first analysis, then plug the API into your scripts.
servorbit.com/ma-en/blog/self-host-web-check-vps-audit


