21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

How to Make a Forum Website

Quick answer

Choose the software first: phpBB runs on an ordinary cPanel account, Flarum needs Composer and PHP 8, and Discourse needs a 2 GB VPS with Docker and outbound email. Pick hosting that meets that floor, install it, then test by registering a user and posting a reply.

For community builders, clubs and businesses who want their own discussion board on a domain they control rather than a hosted platform.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
4 min
Sections
8
Updated
14 Nov 2026
Written by
WebJi® team

Which forum software should you choose before picking a host?

Choose the script first, because it decides the hosting. phpBB runs on an ordinary cPanel account, Flarum needs Composer and a modern PHP build, and Discourse needs a 2 GB VPS with Docker and working outbound email. A forum is a database of discussions, not a page.

  • phpBB 3.3 — the safe default for a first forum on shared hosting; huge extension library, familiar layout.
  • Flarum — a lighter, modern board with good mobile layout; needs SSH and Composer to install.
  • Discourse — the best long-term discussion experience; needs a VPS, Docker and a mail provider.
  • A hosted forum — live in minutes, but your posts live in someone else's database.

What does each forum script need to run?

phpBB needs only PHP and MySQL, Flarum adds Composer and SSH, and Discourse needs Docker on a VPS with at least 2 GB of RAM plus swap. Check each project’s own requirements page for the current minimum versions before installing.

Forum software requirements and the smallest practical server
ScriptStackServer floorBest for
phpBB 3.3PHP 7.2 or newer, MySQL or MariaDB1 GB shared planFirst forum, cPanel user
FlarumPHP 8.x, MySQL or MariaDB, Composer, SSH1 vCPU, 1 GBA small board with a modern look
DiscourseDocker container with Ruby, PostgreSQL and Redis inside2 vCPU, 2 GB plus swapA community meant to last years

A phpBB board fits cPanel hosting; Discourse belongs on a VPS. All three need a domain, an SSL certificate and a working mailbox, because registration depends on email. Discourse also needs outbound SMTP from day one: without it you cannot confirm the admin account.

Is a hosted forum service a good alternative to self-hosting?

A hosted forum is fine for testing an idea, but for a community you want to keep, self-hosting wins because you own the database and the domain. You pick a subdomain, choose a theme and start posting within minutes, and the host handles updates and uptime.

The trade is ownership. Free tiers usually carry ads, the database stays on the provider’s servers, and exporting years of threads can be limited or paid. Before you commit, check three things on the provider’s own pages: whether a full export is offered, whether you can use your own domain, and what removing ads costs. If the community is the business, self-host; the forum hosting comparison covers the plans that fit each script.

How to install phpBB on a cPanel account

This is the shortest path to a working board, and it is the one to try first if the forum is a side project.

  1. Download the phpBB 3.3 package from phpbb.com and unzip it.
  2. In cPanel open File Manager, create public_html/forum, and upload the contents of the phpBB3 folder into it.
  3. In MySQL Databases create a database and a user, then attach the user with All Privileges. Note the full prefixed names.
  4. Visit https://example.com/forum/install, choose the MySQL driver, enter the prefixed database details, and create the admin account.
  5. Delete the install folder from File Manager. The board stays locked until you do.

You know it worked when the board index loads without the install warning, a test registration completes, and a reply appears in the right forum.

How to install Discourse on a VPS

Discourse is the heavier route and the better one for a community you expect to keep. Start from a clean Ubuntu VPS with 2 GB RAM, at least 2 GB of swap, and a DNS A record for forum.example.com already pointing at the server.

  1. sudo -s, then git clone https://github.com/discourse/discourse_docker.git /var/discourse
  2. cd /var/discourse && chmod 700 containers
  3. ./discourse-setup. If Docker is missing, the setup script offers to install it.
  4. Answer the prompts: host name, admin email, SMTP host, port, user and password. The script builds the container and starts it.
  5. Open https://forum.example.com, confirm the admin email, and finish the wizard.

You know it worked when the site loads over HTTPS, the confirmation email arrives in a real inbox, and sudo ./launcher logs app shows no SMTP errors. A forum that cannot send email cannot approve members.

How should you structure a new forum before inviting members?

An empty forum with twenty categories looks abandoned. Start with three or four categories tied to what people will actually ask, one welcome thread that explains the rules, and a moderator who is not you.

  1. Create the categories and write a one-line description for each.
  2. Set guest permissions to read but not post; require registration to reply.
  3. Post five seed threads with real questions and answer them yourself, so the first visitor sees activity.
  4. Add the forum link to your main site navigation and to the footer.

If the main site runs WordPress, a WordPress hosting plan with a forum extension is another route, but a dedicated script will outgrow it sooner.

How to stop forum spam without blocking real sign-ups

Open registration on a new domain attracts bots within days. Three settings handle almost all of it: email verification, a question that a human answers easily, and an approval queue for the first post.

  1. Turn on email activation, so an account needs a working address before it can post.
  2. Enable a question-and-answer challenge in the registration settings, not an image CAPTCHA.
  3. Hold the first post from every new account for approval, then release the account.
  4. Back up the database weekly and test a restore once, before you need it.

What WebJi® support covers for a self-hosted forum

Email support@webji.services with the script and version, the PHP version, and the exact error from the installer or the mail log. Support covers the server, the PHP build and the mail port; script bugs go to the phpBB, Flarum or Discourse project. Support is 24/7 by email in Hindi and English, with an average first reply under 60 minutes, and the office phone is not a support line.

Sources: phpBB 3.3 requirements and installation documentation (phpbb.com); Flarum installation documentation (docs.flarum.org); Discourse “INSTALL-cloud” guide in the discourse/discourse_docker repository.

FAQ

Frequently asked questions

What is the best software to make a forum website?

It depends on the hosting you have. phpBB is the safest choice on a shared cPanel account, Flarum suits a small modern board if you can use SSH and Composer, and Discourse gives the best long-term discussion experience on a 2 GB VPS with Docker and outbound email.

Can I make a forum on shared hosting?

Yes with phpBB, which runs on PHP and MySQL inside a normal cPanel account. Discourse will not run there, because it needs Docker, PostgreSQL and 2 GB of RAM.

Do I need a VPS for Discourse?

Yes. Plan on 2 vCPU and 2 GB RAM plus swap for a small community, and more once uploads and search grow. A mail provider is also required before setup can finish.

Is a free hosted forum a good idea?

For a quick test, yes. For anything you want to keep, no: free tiers show ads, and the posts stay in the host's database with limited export.

How do I stop spam on a new forum?

Require email activation, add a question challenge at registration, and hold the first post from each new account for approval. Those three settings stop most automated sign-ups.

Last editorial update: 14 November 2026.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.