HomeCommunity & Content › How to Implement Real‑Time Notifications in a Flarum Forum

How to Implement Real‑Time Notifications in a Flarum Forum

Updated 2026-06-25 · Hosting Reviews

Hosting Reviews is reader-supported. This page contains affiliate links to Hostinger; we may earn a commission if you sign up through them — at no extra cost to you.

Implementing real time notifications in a Flarum forum can boost engagement and keep members active, but the process is simpler than you think. Below is a practical, step‑by‑step guide that covers everything you need – from picking the right hosting plan to configuring the notification extension – so you can get your community up and running without breaking the bank.

What You Need Before You Start

First, gather these essentials:

Deal alert
Get Forum & Community Site online
Build an online community or forum — the hosting that handles traffic plus the software to run discussions and groups.
Build Your Community on Hostinger →
  1. A domain name that reflects your brand.
  2. Web hosting that can handle the traffic spikes when notifications are pushed.
  3. Flarum installed on the server (or a one‑click installer if you prefer).
  4. A real‑time notification extension such as "fof/websocket" or "flarum/ext-real-time".

If you’re new to web hosting, Hostinger offers an affordable entry point with fast SSD servers, free SSL, and a simple control panel that makes installing Flarum a breeze.

Choosing the Right Hosting Plan for a Forum & Community Site

Forums can start small and grow quickly, so pick a plan that scales with your membership count. Here’s a quick comparison:

Hostinger’s cloud plans strike a sweet spot for most growing communities, offering the performance of a VPS at a shared‑hosting price.

Installing Flarum and the Real‑Time Extension

Once your Hostinger account is active, follow these steps:

  1. Log into the Hostinger control panel and create a new MySQL database.
  2. Upload the latest Flarum zip file via the file manager or FTP.
  3. Run the installer by navigating to your domain and following the on‑screen prompts – enter the database details you created.
  4. After installation, open the admin dashboard, go to Extensions, and search for a real‑time notification package (e.g., "fof/websocket").
  5. Install the extension, then configure the WebSocket server URL (Hostinger provides a free SSL‑protected sub‑domain you can use for wss connections).

The extension will automatically push new replies, mentions, and private messages to users without them needing to refresh the page.

Speed and Security Basics

Real‑time features rely on low latency and secure connections. Keep these settings in mind:

These tweaks keep your forum fast and protect the real‑time channel from man‑in‑the‑middle attacks.

Step‑by‑Step to Get Your Forum Live

Here’s the concise roadmap you can follow in a single afternoon:

  1. Register a domain through Hostinger (or transfer an existing one).
  2. Choose a cloud hosting plan that matches your expected traffic.
  3. Set up the SSL certificate and enable the CDN.
  4. Install Flarum using the one‑click installer or manual upload.
  5. Add the real‑time notification extension and configure the WebSocket URL.
  6. Test notifications by posting a reply in a new thread while logged in as another user.
  7. Fine‑tune performance settings (PHP version, caching plugins) and launch.

With Hostinger’s intuitive dashboard and affordable pricing, you’ll have a fully functional community site that can grow alongside your audience.

FAQ

Do I need a dedicated server for real‑time notifications?

No. For most small to medium forums, a cloud plan with 2‑4 GB RAM is sufficient. Only extremely high‑traffic sites (tens of thousands of concurrent users) typically require a dedicated server.

Can I add real‑time notifications to an existing Flarum installation?

Yes. Just install the WebSocket extension via the admin panel, configure the server URL, and clear the cache. The feature works on any Flarum version that supports extensions.

Will the cost increase dramatically when I add real‑time features?

Not significantly. The main cost is the hosting tier that can handle persistent WebSocket connections. Hostinger’s cloud plans add only a few dollars per month compared to basic shared hosting.

Ready to buy?
Get Forum & Community Site online
Build an online community or forum — the hosting that handles traffic plus the software to run discussions and groups.
Build Your Community on Hostinger →