Discourse is modern and powerful, but it asks more of your host than older forum software. This guide shows why it needs a VPS and how to set it up properly.
Discourse needs a VPS, not shared hosting. It runs in a Docker container and wants at least 2GB of memory. Install it with the official script, then keep it updated and backed up.
Why Discourse needs a VPS
Discourse is not like older forum software. It runs in a Docker container and leans on more memory and processing power, so it will not run on ordinary shared hosting. Discourse needs a VPS or a cloud server with its own reserved resources.
The official guidance asks for at least 2GB of memory, and more helps as the board grows. A VPS gives you that memory as a fixed slice that other sites cannot touch, which is exactly what Discourse needs to run smoothly.
Choosing a server for Discourse
Pick a VPS with enough memory and root access so you can install the software. A few points guide the choice.
- Memory. Start with 2GB and choose more for a busy board or lots of plugins.
- Root access. You need full control to run the install script and Docker.
- Fast storage. NVMe or SSD keeps the database and page loads quick.
- Good network. Reliable bandwidth keeps the board responsive for members.
Our VPS hosting for forums roundup and our guide to hosting Discourse list servers that suit it.
Installing Discourse
Discourse ships with an official install script that does most of the work. The steps are clear if you follow them in order.
- Set up the VPS. Start with a clean Linux server and log in over SSH.
- Install Docker. The official script sets up the container the software runs in.
- Run the setup. The Discourse installer asks for your domain, email, and mail settings.
- Point your domain. Update DNS so your address loads the new board.
Discourse needs a working email service to send sign-up and reset messages. Set up a transactional email provider during install, since the board cannot function without it.
Email and Discourse
Email is not optional with Discourse. The board sends confirmation, notification, and reset messages, so it needs a reliable way to deliver them. During install you connect a transactional email service that handles this.
Set up the sending records your provider gives you so messages land in the inbox rather than spam. Without working email, members cannot confirm accounts or reset passwords, so treat this as a core step, not an extra.
Keeping Discourse updated
Discourse updates often, and staying current keeps it fast and secure. The good news is that updating is simple.
The admin panel shows when an update is ready, and you apply it from the browser or the command line. Because the software runs in a container, updates are clean and rarely break the board. Keep an eye on the memory your server uses as you add plugins.
Managed Discourse hosting
Running your own VPS is not for everyone. If the command line feels daunting, a managed option hands the technical side to someone else.
Discourse offers official managed hosting, and some hosts sell managed Discourse on a VPS. You pay more, but the host handles the server, updates, and backups. Our guide on whether forums need managed hosting helps you weigh it up.
Backups and recovery
Discourse has strong backup tools built in, so protecting your board is straightforward. A little routine keeps your data safe.
- Automatic backups. Turn on scheduled backups in the admin panel.
- Off-server copies. Store backups somewhere other than the VPS itself.
- Test a restore. Confirm a backup restores cleanly before you ever need it.
- Snapshot the server. Many VPS hosts offer full-server snapshots as extra cover.
A simple path to launch
To launch a Discourse board with the least stress, follow a clear order. Each step sets up the next.
Choose a VPS with at least 2GB of memory, set up a transactional email service, then run the official install script. Point your domain, work through the admin setup, and turn on automatic backups. Keep the software updated, watch your memory as you add plugins, and consider a managed plan if the server side is not for you.
Scaling a Discourse board
A Discourse board grows in members and posts over time, and its needs grow with it. Planning for that from the start saves a stressful move later.
- Add memory. Move to a larger VPS as active members and plugins climb.
- Watch the database. Keep it on fast NVMe storage so queries stay quick.
- Use a CDN. Serve images and assets from nearby servers for a global community.
- Pick a scalable host. A cloud VPS lets you add resources with little downtime.
Choosing a host with an easy upgrade path means scaling is a small step rather than a full migration. Our roundup of the best hosting for forums lists plans that grow with a Discourse community.
Common Discourse questions
New Discourse owners tend to ask the same few things. Clear answers make the setup feel less daunting.
Discourse is free, open source software, so you pay only for the VPS that runs it. The board works in a container, which keeps updates clean and rarely breaks the setup. Email is required, so connect a transactional provider during install. If the command line is not for you, a managed Discourse plan hands the server side to the host.
Frequently asked questions
Can I run Discourse on shared hosting?
No. Discourse runs in a Docker container and needs its own memory and processing power, so shared hosting cannot run it. Discourse needs a VPS or cloud server with at least 2GB of memory.
How much memory does Discourse need?
The official guidance asks for at least 2GB of memory. A quiet board runs on that, but a busy board or one with many plugins benefits from more. Choose a VPS that lets you add memory later.
Do I need email set up for Discourse?
Yes. Discourse sends sign-up, notification, and password reset messages, so it needs a working transactional email service. Set this up during install, since members cannot confirm accounts without it.
Is Discourse hard to install?
Not with the official script. It installs Docker and sets up the board through a guided process. You need a VPS with root access and some comfort with the command line, or you can choose a managed option.
Should I use managed Discourse hosting?
Managed hosting suits owners who would rather not run a server. You pay more, but the host handles updates, security, and backups. Self-hosting on a VPS costs less if you are comfortable with the command line.