Black Friday: 35% off on Gumroad with code BF2026, Nov 26–30 (PT). See all products

Uptime Status — self-hosted uptime monitor & status page

Thank you for your purchase. This guide assumes no programming knowledge. If something is unclear, see Support.

Version 1.1.1 · Contents: Overview · Requirements · Installation · Scheduling checks (cron) · Monitors · Alerts · Status pages · Incidents & maintenance · JSON, RSS & badges · SaaS mode · Updating · Licence key · Troubleshooting · File structure · Credits · Changelog · Support

Overview

Uptime Status checks your websites, APIs and servers every minute, alerts you by email, webhook, Slack, Discord or Telegram when something goes down, and publishes a public status page with 90-day uptime history, incidents and scheduled maintenance.

  • Monitors: HTTP(S) status code, keyword present/absent, TCP port, ping.
  • Confirms an outage only after N failed checks in a row (no false alarms from one blip).
  • Automatic incidents when a monitor goes down; automatically resolved on recovery.
  • Manual incidents with Investigating → Identified → Monitoring → Resolved updates, all shown on the status page.
  • Scheduled maintenance that mutes alerts for the affected monitors.
  • Unlimited status pages with groups, public or private.
  • JSON API, RSS feed and SVG status badges.
  • Runs on ordinary shared hosting: no Composer, no SSH, no exec()/shell_exec() required.
Public status page with groups, 90-day bars and incident history

Requirements

PHP8.1, 8.2, 8.3 or 8.4
DatabaseMySQL 5.7+ / MariaDB 10.3+ (recommended), or SQLite (no database server needed)
PHP extensionsPDO with pdo_mysql or pdo_sqlite, cURL, OpenSSL, mbstring (all standard on cPanel/Plesk hosts)
Functionsfsockopen(). Optional: exec() for real ICMP ping — without it, ping monitors use a TCP connection test.
SchedulingA cron job every minute, or any free external cron service calling the web-cron URL.
Web serverApache (an .htaccess file is included), LiteSpeed, or nginx (see below).

Installation

  1. Unzip the download. Upload the contents of the upload/ folder to your web space — either the domain root (e.g. public_html/) or a sub-folder or sub-domain such as status.example.com.
  2. MySQL users: create an empty database and a database user in your hosting panel (cPanel → MySQL Databases). Note the database name, user and password. SQLite users skip this step.
  3. Make sure the storage/ folder is writable (permissions 755 or 775; most hosts already allow this).
  4. Open your site in a browser. The installer starts automatically and checks your server. If the host runs PHP older than 8.1 (or lacks PDO or mbstring), you get a page that says exactly what to change in cPanel or Plesk instead of a blank screen. Installer requirement check
  5. Click Continue, then enter your licence key (see Licence key), choose the mode (Single site, or SaaS to sell status pages to your own customers, see SaaS mode), and enter the database details, site name and your administrator email and password. Click Install.
  6. The last screen shows the cron line and the web-cron URL. Set one of them up (next section), then click Sign in to the admin. Installer finished, showing cron instructions

nginx: add location / { try_files $uri $uri/ /index.php?$query_string; } and deny access to /storage, /src, /views, /config and /LicenseKit: location ~ ^/(storage|src|views|config|LicenseKit)/ { deny all; }. In a sub-folder, put the folder name in front, e.g. ^/status/(storage|src|views|config|LicenseKit)/ and try_files … /status/index.php?$query_string. If you cannot change the server configuration, untick "Clean URLs" in the installer — links then use index.php?r=… and work everywhere.

Scheduling checks (cron)

Checks run when the scheduler calls the script. Choose one:

  • Server cron (recommended). cPanel → Cron Jobs → "Once per minute", command:
    php /home/USER/public_html/cron.php > /dev/null 2>&1
    The exact line for your server is shown in Admin → System.
  • No cron access? Use the web-cron URL from Admin → System with any external scheduler (e.g. cron-job.org) every minute. The URL contains a secret token; regenerate it from the same page if it leaks.
System page with cron instructions

Monitors

Admin → Monitors → Add monitor.

HTTP(S)Requests the URL and checks the status code (default 200–399; enter codes or ranges like 200-299,301). Follows redirects. Records response time and SSL certificate expiry.
KeywordAs HTTP, and also checks the page contains (or must not contain) a word — catches "site is up but showing an error page".
TCP portOpens a connection to host:port (database, mail, SSH, game server…).
PingICMP ping when your host allows exec(); otherwise a TCP connection to port 443/80.

Confirm down after sets how many failed checks in a row are needed before the monitor is marked down and alerts are sent. Between failures the monitor is re-checked on the very next cron run.

Monitor detail page with uptime figures and check history

Alerts

Admin → Alerts. Add any number of channels and press Send test to confirm each one. A monitor alerts every active channel unless you tick specific channels on the monitor.

  • Email — via your SMTP server (Admin → Settings) or PHP mail().
  • Webhook — JSON POST for n8n, Zapier, Make or your own code. Body: event (monitor.down, monitor.up, test), monitor, incident, error, occurred_at. With a secret, verify X-Uptime-Signature: sha256=HMAC_SHA256(body, secret).
  • Slack and Discord — paste an incoming-webhook URL.
  • Telegram — bot token from @BotFather and your chat ID.

Every delivery is listed in the Delivery log with the error if it failed.

Webhook alert channel form

Status pages

A page called main is created during installation and is shown at your site's root. Admin → Status pages lets you add more (e.g. one per client), choose which monitors appear, group them ("Website", "API", "EU region"), set the order, and make a page private (visible only to signed-in admins). Pages refresh every 60 seconds and work on phones.

Status page on a phone

Incidents & maintenance

When a monitor goes down, an incident "Name is down" opens automatically and closes when it recovers. Open it from Admin → Incidents to post updates — each update appears on the status page with its time.

Report incident creates a manual incident (minor, major or critical) for problems the checks cannot see. Schedule maintenance announces a window in advance; during the window alerts for the affected monitors are muted and the page shows "Under maintenance".

Incident with timeline of updates

JSON, RSS & badges

  • /status/main.json — overall status, components, active incidents and scheduled maintenance (CORS enabled).
  • /status/main/feed.rss — incident updates for RSS readers and Slack's RSS app.
  • /badge/ID.svg — live badge for a monitor on a public page; embed with <img src="https://status.example.com/badge/1.svg">.

SaaS mode (sell status pages to your customers)

Choose SaaS in the installer to run your own hosted uptime service: visitors sign up, get a status page at theirname.yourdomain.com, and pay you for bigger plans. SaaS mode needs an Extended licence, because your customers pay for the result.

  1. Domain. Enter your root domain in the installer (for example status-hub.com). Point it and a wildcard record *.status-hub.com at your hosting account, and add the wildcard as a sub-domain in your hosting panel so every sub-domain serves the same upload/ folder. The root domain shows your pricing page and the sign-up form; your own status pages stay at status-hub.com/status/main.
  2. Plans. Admin → Customers → Plans. Three starter plans are created for you (Free: 3 monitors, 5-minute checks, 1 page; Pro: 25 monitors, 1-minute checks, 5 pages, custom domain; Business: 150 monitors). Edit names, prices, billing period, monitor limit, fastest check interval, status-page limit and whether a custom domain is allowed. 0 means unlimited. The plan marked default must be free: new accounts and accounts whose paid period ended get it.
  3. Payments. Admin → Customers → SaaS settings.
    • Card (Stripe): paste your Stripe secret key, then in Stripe → Developers → Webhooks add the URL shown on that page for the event checkout.session.completed and paste the webhook signing secret. Customers pay on Stripe Checkout; the plan switches on as soon as Stripe confirms, and each payment extends the plan by one billing period.
    • Bank transfer: type your bank details. Customers see them with a unique payment reference; when the money arrives, open Admin → Customers → Payments and click Mark paid.
  4. Customers. Admin → Customers lists every account with its plan, monitors and owner. Open one to change its plan or paid-until date, connect a custom domain, suspend it (no checks, no status page, no sign-in) or delete it with all of its data.

What customers see. Their own monitors, incidents, alert channels, status pages, team users, settings and a Plan & billing page. When they reach a plan limit, the form explains which limit and links to the upgrade. They never see other customers, the System page, SMTP settings or the licence. Customers on a plan that allows it can add their own domain under Settings: they create a CNAME to theirname.yourdomain.com and enter the domain.

Limits in practice. One cron job checks every customer. If an account has more monitors than its plan allows (for example after a paid period ended), only its oldest monitors are checked, at no more than the plan's fastest interval, until it upgrades.

Updating

  1. Back up the storage/ folder (and your MySQL database).
  2. Upload the new upload/ contents over the old files. Do not delete storage/ — it holds your configuration (and the SQLite database).
  3. Open the site. Database changes are applied automatically on the first page load or cron run after the upload; Admin → System shows the schema version.

Before every database update the script writes a backup to storage/backups/ (SQLite: a copy of the database file; MySQL/MariaDB: an SQL dump of the script's own tables, written by PHP — no mysqldump needed). The newest 5 are kept. If an update step fails, the whole update is rolled back and the database is left exactly as it was; Admin → System shows the error and the backup's name. To go back to a previous version, upload that version's files again, then click Restore next to the backup taken before the update.

Licence key

Which key you enter depends on where you bought the script:

  • Gumroad: the licence key on your receipt (XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX). It is checked with Gumroad during installation.
  • Other stores and direct purchases: a key starting with UPS1., sent to you after purchase. It is checked offline, inside your copy. You may install without it and add it later in Admin → Licence.

A Regular licence covers one end product that is not charged for; SaaS mode (charging your own customers) needs an Extended licence. If the licence service cannot be reached during installation, installation continues and you can re-check later in Admin → Licence.

Troubleshooting

Pages other than the home page show 404

Your server ignores .htaccess. Enable mod_rewrite, or edit storage/config.php and set 'pretty_urls' => false.

Monitors stay "Pending"

Checks are not being scheduled. Admin → System shows when cron last ran. Press "Run due checks now" to test, then fix the cron job.

Emails do not arrive

Configure SMTP in Settings and use "Send a test email". Many hosts block PHP mail().

Ping monitors always fail

Your host disables exec() and the target has no web server on 443/80. Use a TCP port monitor for the service the server runs.

"Too many failed attempts"

Five wrong passwords lock that IP address for 15 minutes, and ten wrong passwords for one account (from any address) lock that account for 15 minutes.

Forgot the admin password

Click Forgot your password? on the sign-in page. A link valid for 1 hour is emailed to the account (it uses the SMTP settings in Admin → Settings, so set those up and send a test email after installing). The link works once. Without working email, another admin can add a new user from Admin → Users.

"This server is not ready yet"

The host's PHP is older than 8.1 or is missing PDO / mbstring. On cPanel use Select PHP Version or MultiPHP Manager; on Plesk use PHP Settings.

File structure

upload/
  index.php          front controller
  cron.php           run every minute from cron
  install/           web installer
  config/license.php licence settings
  src/               application code (not web-accessible)
  views/             templates (customise the look here)
  assets/            app.css, status.css, app.js
  storage/           config, SQLite database, sessions (writable, not web-accessible)
demo-data/           optional sample monitors and history; reset.php for a public read-only demo
documentation/       this guide

To restyle the public page, edit assets/status.css (colours are CSS variables at the top; dark mode follows the visitor's system setting).

Credits

No third-party libraries, fonts, icons or images are bundled. The interface uses the visitor's system font. Demo monitors point at the IANA-reserved domains example.com, example.org and example.net.

Changelog

1.1.1 — Forgot-password emails (one-time link, 1 hour). Login lock per account as well as per IP. Clear message on hosts with PHP older than 8.1. The LicenseKit/ folder is blocked from the web. Demo mode for a public, read-only, self-resetting live preview (demo-data/README.txt). In SaaS mode your customers can reset their own passwords too.

1.1.0 — SaaS mode: customer sign-up, plans with monitor, check-interval and status-page limits, Stripe and bank-transfer billing, a customer administration area, sub-domain and custom-domain status pages, per-customer data isolation. Licence keys for Gumroad and other stores. Automatic database updates.

1.0.0 — First release.

Support

Email support@tanglement.ai (or use the item's comments on the store you bought from). Documentation: https://tanglement.ai/uptime-status-script/docs/. Include your PHP version, database type and the message shown in Admin → System or the alert delivery log.