Hosting blog
Explore topics
Discord bots13 articles
- Where can I host a Discord bot for free when my PC is off?Run a small discord.js or discord.py bot on Bothosting’s free Spark plan. Check its resource limits, weekly renewal and first reply from Discord.
- Does my Discord bot need a separate deployment for every server?Use one Discord application in several servers, keep guild settings separate and decide when a second bot really needs another deployment.
- Why does my Discord bot answer slash commands but ignore chat messages?Trace a prefix command from guild message events to message content and channel permissions. Learn which access the downloadable slash-command bot uses.
- How do I host a Java Discord bot built with JDA?Build a runnable JAR for the Java 21 host, choose an allocation that fits JDA and distinguish packaging errors from Discord login errors.
- Does a Discord music bot need its own Lavalink server?Find out what the Bothosting music starter sends to Lavalink, when you need a second deployment and how to test a track in voice.
- How can I test a Discord bot update without changing my live bot?Set up a second Discord application, isolated settings and a test guild. Rehearse a release and deploy the same tested commit to the live bot.
- Why does my Discord music bot answer /play but make no sound?Trace a silent Bothosting music bot from the /play reply through Lavalink track loading to Discord voice permissions, using one track in a test channel.
- When does my Discord bot need sharding, and how do I host the shards?Check Discord’s guild threshold, start a discord.js shard manager on Bothosting, and keep background jobs from running once per shard.
- Do I need a VPS to keep a Discord bot online 24/7?A VPS gives full control, but you maintain the server. A managed bot host runs the process for you. How to decide, with the cost and work of each.
- How do I host a discord.py bot 24/7?Run a discord.py bot around the clock without your PC: project layout, requirements.txt, token variable, start command and the checks that prove it works.
- How do I host a Discord bot together with its web dashboard?Run a bot and its settings dashboard as two deployments on one plan, share a database, and give the dashboard an HTTPS address and login.
- How do I host a TypeScript discord.js bot?Compile a TypeScript Discord bot on the host or before upload, start the JavaScript in dist, and avoid the usual tsconfig and ESM startup errors.
- Why is my Discord slash command missing?Use the /ping starter to distinguish a failed bot login, a missing application command and an interaction that receives no reply.
Telegram bots14 articles
- Where can I host a Telegram bot for free without buying a domain?Run a Telegram polling bot on Bothosting’s free Spark plan, connect its BotFather token and check a private reply after your laptop is offline.
- Can I use my own domain for a Telegram bot webhook?Verify a custom hostname, switch the Telegram webhook to it and use two separate checks to confirm HTTPS routing and a real Bot API reply.
- Why does my Telegram bot reply in private but ignore my group?Check the starter’s private-chat filter, explicitly addressed commands and Telegram group privacy mode before changing the host or the bot token.
- Why does my Telegram bot button keep spinning after I tap it?Follow a Telegram inline keyboard tap through callback delivery, acknowledgment and the application action. Test a disposable button with a known reply.
- How can my Telegram bot send reminders when nobody is messaging it?Design an opt-in reminder with a stored chat ID, a due time and a scheduled sender. Check delivery, retries and cancellation using one private chat.
- How can a Telegram bot remember a conversation after a restart?Choose the right key and durable storage for Telegram chat preferences and multi-step forms. Verify recovery with two users and one deployment restart.
- How do I host a grammY or Telegraf Telegram bot in Node.js?Deploy a grammY or Telegraf bot on a Bothosting Node.js polling worker, save the token, and verify that a private /ping gets exactly one reply.
- Should my Telegram bot use polling or a webhook?Long polling needs no domain and suits most bots. Webhooks need HTTPS and suit high traffic or serverless setups. How to choose and switch safely.
- How do I host an aiogram or python-telegram-bot bot 24/7?Run a Python Telegram bot built with aiogram or python-telegram-bot on an always-on worker: files, requirements, token variable and a first reply.
- Deploy an aiogram 3 Telegram bot with a polling workerDeploy an aiogram 3 project from requirements.txt and verify that the dispatcher loads your routers and receives Telegram updates.
- Host a python-telegram-bot app and preserve conversation stateRun a python-telegram-bot Application on a polling worker and check whether conversation data survives a restart.
- Deploy a grammY bot and diagnose polling handler errorsDeploy a grammY project to a Node.js polling worker, add a handler error hook, and test graceful shutdown.
- Deploy a TypeScript Telegraf bot to a Node.js workerHost compiled Telegraf code with its production dependencies, check the entry file and verify polling after a redeploy.
- Switch a Telegram bot from webhook to pollingMove a bot between delivery modes, preserve pending updates, and diagnose a health check that succeeds while private messages go unanswered.
Slack bots1 article
Node.js8 articles
- Where can I host a small Node.js API or worker for free?See which Node.js projects fit Bothosting’s free Spark plan, launch an API with no npm dependencies, and check what changes when you need a second process.
- How do I deploy an Express API and give it an HTTPS URL?Take a small Express route from server.mjs to a public address, install the locked dependencies, and test the expected JSON response.
- How do I deploy a TypeScript API that builds into dist?Choose where to compile a TypeScript backend, keep the compiler available during the build, and point Node.js at the JavaScript file the build produced.
- Why does npm ci fail on my host when npm install works locally?Distinguish a missing lockfile from a manifest mismatch or an install flag difference, then reproduce your Node.js deployment from a clean checkout.
- Does a Node.js background worker need a port or domain?Choose a worker for outbound queue consumers and event listeners. Test one message end to end and use acknowledgements to recover work after a restart.
- How do I run a one-time Node.js data import and check the result?Use a one-off deployment for a finite import. Separate starting the runner from running a batch and build a repeatable check for duplicate records.
- Can I host a React frontend and an Express API on one URL?Serve a Vite-built React app and an Express API on one Bothosting Node.js deployment, with relative API requests and working browser refreshes.
- Fix a Node.js API that starts but is unreachable over HTTPSTest a known route, check the listener address and assigned port, then isolate a routing failure from a DNS or deployment problem.
Python8 articles
- Where can I host a Python script for free and run it with my laptop off?Match a Python script to a free worker, web app or scheduled job on Bothosting. Check the first result, memory budget and seven-day renewal.
- How do I host a FastAPI app with Uvicorn?Deploy a small FastAPI route on Bothosting, set the Python module and application object correctly, and test both valid and invalid input over HTTPS.
- Why does Python say a module is missing after deployment?Trace ModuleNotFoundError to the package, project layout or interpreter that owns the import. Reproduce the install from requirements.txt before redeploying.
- Can I run a Python script every 15 minutes for free?Set a quarter-hour schedule on Spark, see how UTC boundaries determine the next run, and choose a timeout that fits your Python task.
- Can a hosted Python bot keep its settings in SQLite?Use a persistent SQLite file for a single Python bot, verify a setting after restart, and decide when a second application needs a database server.
- Why do my Python worker logs appear all at once?Test whether stdout buffering explains late Python logs, make progress visible during a long batch, and distinguish delayed output from a stuck worker.
- How do I host a Flask or Django app with an HTTPS URL?Deploy a Flask or Django project behind Gunicorn on Bothosting: requirements, start command, port binding, secrets and the first request to test.
- Handle missed runs in a scheduled Python jobSet an hourly UTC interval, read the runner’s skipped counts, and design a report that can safely resume after downtime.
Websites9 articles
- How do I host a Next.js app on Bothosting?Choose between static export and a Node.js server for Next.js, use the assigned port, and test a nested page or dynamic route over HTTPS.
- Where can I host a small website for free?Publish a portfolio or project page on Bothosting’s free Spark plan. See what fits, where the HTTPS address comes from, and how to check the published files.
- Which files do I upload to host a Vite React app?Choose between uploading a local Vite build and deploying React source from GitHub. Match the output index, asset paths and build command to the hosting profile.
- Why does my React site show a 404 when I refresh a page?Diagnose a nested URL that works inside your app but fails on reload. Test the HTML fallback, missing assets and the frontend router separately.
- Does my website need PHP hosting or will static hosting work?Follow a form submission to decide whether your site needs PHP. Check the public directory, runtime dependencies and rendered response with a small working example.
- Can I point a subdomain at my website and keep my existing email?Connect a website such as www.example.com using the exact CNAME and ownership records from Bothosting. Check the website and mail records independently.
- Where do I put a private API key for a static website?Keep a provider key in a server-side handler and give the frontend a public endpoint. See which build variables become public and how to check the browser request.
- Where can I host a small PHP website cheaply with HTTPS?Run a PHP site with a public document root and an HTTPS address on Bothosting. What fits on free and paid plans, and how to add your own domain.
- Roll back a static website after a bad frontend buildFind the active release, distinguish a failed candidate from a published regression, and restore the previous site while fixing the source.
Databases8 articles
- Which database can I host for free on Bothosting?Redis fits the free Spark plan. Compare the memory, CPU and storage required by PostgreSQL, MySQL and MongoDB, and see what happens when a bot needs a slot too.
- Should my bot use SQLite or a separate PostgreSQL database?Choose a local SQLite file or a hosted PostgreSQL service by checking who reads and writes your data. Work through a real bot and dashboard example.
- How do I make a bot’s Redis cache expire automatically?Set a Redis value and its lifetime together, interpret TTL results, and distinguish stale cache entries from records your application must keep.
- How do I connect my app to PostgreSQL with a client certificate?Use the database hostname, client identity and server trust file together. Check a PostgreSQL login with psql and narrow down common certificate errors.
- How do I move an existing PostgreSQL database to Bothosting?Rehearse a logical export into an empty hosted PostgreSQL database, check data with the application role, and plan the final transfer around live writes.
- Which database backup should I restore after an accidental change?Read the recovery timeline, account for later writes and verify a restored record. See how database snapshot intervals and retention differ across plans.
- How do I save a Discord server’s settings in MySQL?Keep one configuration row per Discord server in MySQL. Set a welcome channel, update it and check that another server’s settings stay independent.
- How can my bot save chat preferences in MongoDB?Use one MongoDB document per chat to store and update a language preference. See which database to write to and how to verify that repeated updates keep one record.
Phones and mobile apps12 articles
- Can I host a Discord bot from my phone without a computer?Yes. Your phone does not run the bot; a host does. Create the bot, put its code on GitHub and start it from the Bothosting iPhone or Android app.
- How do I host a Telegram bot from my phone?Create the bot with BotFather in Telegram, put the code on GitHub, and run it 24/7 from the Bothosting app on iPhone or Android, all from your phone.
- Can I run a Discord bot 24/7 on my Android phone with Termux?Termux can run a bot while the phone is awake and charging, but sleep, battery limits and changing networks take it offline. Here is what holds up 24/7.
- How do I restart my bot and check its logs from my phone?Get a push alert when a bot stops, then restart it, stream and filter live logs, renew a free plan and roll back files from the Bothosting app.
- How do I get a notification when my bot goes offline?Get a push alert on your phone when a Discord or Telegram bot stops unexpectedly, turn on automatic restarts, and post crash alerts to a Discord channel.
- My bot token leaked. How do I fix it from my phone?Reset the Discord or Telegram token, save the new one in the Bothosting app and restart, in about two minutes, before anyone can use the leaked one.
- Can I publish a website from my phone with a custom domain?Write the pages on GitHub, publish them as a static site from the Bothosting app, and connect your own domain, even on the free plan.
- Is there an app to host and manage bots on iPhone or Android?The Bothosting app runs on iPhone and Android with the same account as the website: crash alerts, live logs, restarts, files and GitHub deploys.
- Where should I host the backend API for my React Native or Flutter app?Your app ships through the App Store and Google Play, but its API and database need an always-on host with HTTPS. Here is a small, cheap setup that works.
- Should my mobile app connect directly to my database?No. Credentials inside an app can be extracted, so a MySQL, PostgreSQL or MongoDB server should sit behind a small API that checks every request.
- How do I hide an OpenAI or other API key in my mobile app?You can’t hide a key inside an app. Keep it on a small proxy API you host, and have the app call that, with limits so nobody can run up your bill.
- Why does my app’s API call work in the simulator but fail on a real phone?Fix “Network request failed” and “Connection refused”: localhost on a phone is the phone itself, and iOS and Android block plain HTTP by default.
Comparisons7 articles
- Bothosting vs bot-hosting.net: which bot host should I choose?Bothosting and bot-hosting.net compared plan by plan: price, RAM, CPU, storage, free renewal, backups and AI agent access for Discord and Telegram bots.
- Bothosting vs Railway vs Render vs Fly.io for a 24/7 botWhich platform keeps a Discord or Telegram bot online for the least money? Free tiers, sleep rules and cheapest always-on prices compared.
- Where can I host a Telegram bot for free? PythonAnywhere, Render, Railway and Bothosting comparedWhere can a Telegram bot run for free? Polling and webhook support, sleep rules, network limits and upgrade prices on four platforms.
- Free database hosting compared: Supabase, Neon, MongoDB Atlas and RedisFree PostgreSQL, MongoDB and Redis tiers compared on storage, pausing, backups and expiry, with advice on where a bot’s database should live.
- What is the best Discord bot hosting in 2026?Discord bot hosts compared on price, RAM, backups and free options: Bothosting, bot-hosting.net, Sparked Host, PebbleHost and FadeHost.
- Free Discord bot hosting compared: which free host is best?Free Discord bot hosts compared: RAM, CPU, disk, renewal, backups and GitHub deploys at Bothosting, bot-hosting.net, fps.ms, Botkeep, FadeHost and Daki.
- What are the best Heroku and Replit alternatives for hosting a bot?Heroku has no free dynos and Replit’s free app expires after 30 days. What a 24/7 bot costs on each, and cheaper always-on alternatives.
Hosting operations15 articles
- How do I renew my free bot hosting on Bothosting?Spark runs for seven days per renewal. Find the renewal control, check the new expiry time and tell an expired deployment from a bot that has crashed.
- Can an AI assistant check my bot without being able to change it?Give an MCP-compatible editor read access to one Bothosting deployment. Check status, usage and recent logs without granting file writes or restart permission.
- Can I host a bot from a private GitHub repository?Use a private GitHub repository on every plan, including Spark. Save the read credential in GIT_TOKEN, not in the clone URL, and verify the running revision.
- How do I upload a bot as a ZIP without using GitHub?Package a bot from your computer, identify the actual entry file after extraction, and check for missing local modules or an old starter still running.
- How can I sync bot files from my editor to Bothosting?Link a local project to an existing deployment, preview pending uploads, and verify a change before turning on file watching.
- Can Claude Code, Cursor or Codex deploy and fix my bot for me?Connect an AI coding agent to Bothosting over MCP so it can read logs, edit files, restart and deploy a bot, with scoped tokens you can revoke.
- Can I host a Discord bot, a Telegram bot and a website on one plan?One Bothosting account plan shares memory, CPU and storage across deployments, so a Discord bot, Telegram bot, website and database can share one bill.
- How much does it cost to host a Discord or Telegram bot 24/7?Real monthly prices for keeping a bot online: free tiers, budget bot hosts, VPS and app platforms, with what each price actually buys.
- Is Bothosting the same company as DiscordBotHost?DiscordBotHost is now Bothosting at bothosting.dev. What changed, what happened to existing accounts and bots, and how to sign in.
- I built a bot with ChatGPT or Claude. Where do I host it?Turn AI-generated Discord or Telegram bot code into a running bot: check the files, add the token safely, pick a runtime and get a first reply.
- How do I move my bot from Render, Railway or Replit to another host?A safe checklist for moving a running Discord or Telegram bot between hosts: export data, copy secrets, cut over without double replies and roll back.
- Why does my bot keep going offline?Find out why a Discord or Telegram bot keeps disconnecting: free plan expiry, crashes, running out of memory, a reset token or a host that sleeps.
- Do I still need keep_alive.py and UptimeRobot to keep my bot online?The keep_alive web server and UptimeRobot ping were a workaround for hosts that sleep. Why an always-on host doesn’t need them, and how to remove them.
- How do I keep my bot token secret when I host my bot?Keep Discord and Telegram tokens out of your code and Git history, store them as environment variables, and what to do if a token leaks.
- How to size one hosting plan for two bots and a websiteWork through a concrete memory, CPU and storage budget for a Discord bot, a Telegram bot and a website on one shared hosting plan.
No stories match your search. Try a product name or a different keyword.