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 name | With your own name |
|---|---|
http://203.0.113.10:25580No HTTPS, numbers and a port. This is the address SparkPanel shows for your bot now. | https://mybot.play.serverspark.nlHTTPS 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
- Open your bot in SparkPanel and go to Settings, then Address and ports.
- In the card Your own address click Choose a name.
- Type the name you want. While you type you see whether it is free.
- Does your bot have more than one port? Then pick the port your web server listens on.
- 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(not127.0.0.1orlocalhost) on the port of your server. The card shows the port; in your code it is the environment variableSERVER_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")
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-Protoishttps. 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.