Bot Uptime

Free HTTPS Subdomains & Custom CNAME Domains (Developer & Pro)

Developer and Pro bots can serve public HTTPS traffic directly from inside their container — ideal for Discord OAuth web dashboards, Top.gg vote webhooks, Telegram/WhatsApp webhooks, or status APIs. Every paid bot gets an instant free HTTPS subdomain (*.apps.botuptime.net), and you can attach any domain you own (purchased from Cloudflare, Namecheap, Porkbun, or GoDaddy) via a single CNAME record.

1. Listen on process.env.SERVER_PORT Inside Your Bot

Bind your HTTP server to 0.0.0.0 on the container port provided by process.env.SERVER_PORT (or PORT). Never bind to 127.0.0.1 or hardcode port 80/443 — Bot Uptime terminates TLS/HTTPS automatically at the edge and forwards clean HTTP traffic to your allocated container port.

web-server.js
const http = require('node:http');
const port = Number(process.env.SERVER_PORT || process.env.PORT || 3000);

http.createServer((req, res) => {
  res.writeHead(200, { 'Content-Type': 'application/json' });
  res.end(JSON.stringify({ ok: true, service: 'my-bot-api' }));
}).listen(port, '0.0.0.0', () => {
  console.log('[Web] Listening on port', port);
});

2. Activate Your Free *.apps.botuptime.net HTTPS Subdomain

Open your Bot page → click the Domains tab → choose a clean slug (such as my-community) and click Activate Subdomain. Within seconds, https://my-community.apps.botuptime.net routes securely over HTTPS straight to your bot’s HTTP server.

3. Connect Your Own Custom Domain with a CNAME Record

Want to use bot.yourdomain.com or api.myserver.gg? Buy any domain from Cloudflare Registrar, Namecheap, Porkbun, or GoDaddy, open your DNS dashboard, and add a CNAME record pointing to your Bot Uptime subdomain:

DNS Record (Cloudflare / Namecheap / Porkbun)
Type:   CNAME
Name:   bot   (or @ if using Cloudflare CNAME Flattening)
Target: your-slug.apps.botuptime.net
TTL:    Auto / 300s

Frequently Asked Questions

Which plans include HTTPS Subdomains and Custom Domains?

Free HTTPS subdomains (*.apps.botuptime.net) and Custom CNAME Domains are included on the Developer ($2.99/mo) and Pro ($6.99/mo) plans to prevent free-tier phishing abuse.

How long does CNAME DNS verification take?

Most DNS providers (especially Cloudflare) propagate within 1–5 minutes. Click "Verify CNAME" inside your bot’s Domains tab anytime to run a live DNS check.

Ready to deploy your bot 24/7?

Launch a custom Discord, Telegram, or WhatsApp container (Python, Node.js, Java, Rust) with Managed Databases and Free AI Agents — or deploy a ready-made Discord bot in 1 click on Bot Uptime.