Black Friday: first month 50% off on monthly plans, or your first month free when you pay per quarter. Until Monday 30 November 23:59. See the plans Conditions
November deal: your first month 50% off on every monthly plan. New customers, until 30 November. See plans
New here? Try a Minecraft server or Discord bot free for 24 hours. Try free
ServerSparkServerSpark

Knowledge base

An HTTPS address for your bot

A free web address with HTTPS for the dashboard, webhooks or login callback of your bot: how to switch it on in SparkPanel and what your app must do.

NVMe nodesNightly backupsOnline in minutes

Updated 19 November 2026

A bot plan at ServerSpark can have its own web address with HTTPS, for example https://mybot.play.serverspark.nl. It is free. You need it when your bot also runs its own web server: a dashboard, webhooks, or the callback of a login with Discord (OAuth).

What you get

Without a nameWith your own name
http://203.0.113.10:25580
No HTTPS, numbers and a port. This is the address SparkPanel shows for your bot now.
https://mybot.play.serverspark.nl
HTTPS with a valid certificate, no port in the address.

We put HTTPS in front of your app. Your app itself keeps speaking plain HTTP on its own port; you do not need a certificate and you do not change your code for HTTPS.

Switching it on

  1. Open your bot in SparkPanel and go to Settings, then Address and ports.
  2. In the card Your own address click Choose a name.
  3. Type the name you want. While you type you see whether it is free.
  4. Does your bot have more than one port? Then pick the port your web server listens on.
  5. Click Use this name. The address usually works within a minute. The card shows it with a copy button.

What your app must do

  • Listen on 0.0.0.0 (not 127.0.0.1 or localhost) on the port of your server. The card shows the port; in your code it is the environment variable SERVER_PORT.
  • Speak plain HTTP. Do not switch on HTTPS in your app.

Python (Flask): app.run(host="0.0.0.0", port=int(os.environ["SERVER_PORT"]))

Node.js (Express): app.listen(process.env.SERVER_PORT, "0.0.0.0")

Login with Discord: in the Discord Developer Portal, under OAuth2, add your new address as a redirect, for example https://mybot.play.serverspark.nl/callback, and use exactly the same address in your code.

Good to know

  • WebSockets work without settings.
  • The visitor's address is in the header X-Forwarded-For; X-Forwarded-Proto is https. Many frameworks have a "behind a proxy" setting that reads these.
  • Cookies your app sets always belong to your own address only.
  • Uploads through the address can be up to 32 MB per request.
  • "502: the app behind this address did not answer" means your app is not started, listens on another port, or listens on 127.0.0.1. Check the console of your bot.
  • The address with numbers keeps working next to the name, over plain HTTP.
  • Rules for a name: 3 to 30 characters (letters a to z, numbers, hyphens), one name per bot, one change a day. A removed name stays reserved for your bot for 7 days.

Also have a game server? It can get a name under play.serverspark.nl the same way: see Give your server its own address. New to bot hosting? Start with Run your Discord bot 24/7.

Stuck? Open a ticket and we help you personally.