Illustration of a self hosted push notification WordPress setup with a private server Illustration of a self hosted push notification WordPress setup with a private server

How to Self-Host Web Push Notifications for WordPress

How to self-host web push notifications for WordPress: three setups compared, what you need, step-by-step setup, and upkeep tips.

To self-host web push notifications for WordPress, run the push sending system on a server you control, then connect WordPress to it with a plugin. The usual setups are a self-hosted push panel on a VPS with its WordPress plugin, an all-in-WordPress plugin that stores subscribers in your database, or your own code built on an open-source web push library.

Self-hosting changes who owns the subscriber list and who sets the price. With a SaaS tool, subscribers sit in the vendor’s database and the bill usually grows with your list. When you self-host, the data and the server are yours, and so is the maintenance. Below I compare the three routes, list what you need, and walk through the setup I’d use for a busy WordPress site.

What does self-hosted web push for WordPress mean?

It means the subscriber database, the campaign dashboard and the sending queue run on infrastructure you control, not on a push vendor’s cloud. Browsers still deliver the message through their own push services, such as Firebase Cloud Messaging (FCM) for Chrome, so no setup is fully independent.

PartSaaS push toolSelf-hosted push
Subscriber dataVendor’s databaseYour server
Dashboard and sendingVendor’s cloudYour server
Delivery to browsersBrowser push services (FCM, Mozilla, Apple)Same browser push services
PricingUsually monthly, often by subscribers or sendsServer cost plus software licence or your dev time
MaintenanceVendorYou

If you want the wider trade-off first, my comparison of self-hosted vs SaaS push notifications covers it in detail.

Which self-hosted setups work with WordPress?

Three setups work, and they suit different sites. The main difference is where sending happens: on a separate server, inside WordPress, or in code you write.

SetupExampleWhere sending runsBest for
Self-hosted panel plus pluginLaraPush with its WordPress pluginA separate VPSPublishers and multi-site owners
All-in-WordPress pluginPerfecty Push NotificationsYour WordPress serverSmall sites on a zero budget
Your own codeweb-push-php libraryWherever you deploy itDevelopers with specific needs

Self-hosted panel plus a WordPress plugin

A push panel runs on its own VPS, and a plugin connects WordPress to it. Sending load stays off your web server, so a big campaign doesn’t slow your site. You also get a full dashboard for campaigns, segments and reports.

An all-in-WordPress plugin

Perfecty Push Notifications stores subscribers in your WordPress database and sends from your own server, according to its plugin page. It’s free and open source. However, when I checked on Oct 29, 2026, WordPress.org showed it hadn’t been tested with the latest three major WordPress releases, and its page said iOS and Safari weren’t supported yet. Check its status before you rely on it.

Your own code with a web push library

Libraries such as web-push-php handle VAPID signing and payload encryption, so you can build sending into a custom plugin. That gives full control, but you also build the subscribe flow, the database, the dashboard and the cleanup of expired subscriptions. My PHP and Laravel web push guide shows what that involves.

What do you need before you start?

You need a WordPress site on HTTPS, a server for the push system, a domain or subdomain for the panel, and a Firebase project for delivery if your tool uses FCM.

RequirementWhyTypical choice
HTTPS on the WordPress siteThe Push API needs a secure contextFree certificate from your host
VPS for the panelRuns the dashboard, database and queueUbuntu server with root access
Subdomain for the panelLets you reach the dashboard securelyFor example push.yourdomain.com
Firebase projectSome tools send through FCMFree Firebase account
WordPress admin accessTo install and configure the pluginYour admin login

Server size depends on the tool and your list size. My guide to self-hosted push server requirements covers sizing, and the best VPS for self-hosted push post compares hosts.

How do you set up self-hosted web push for WordPress?

Here are the steps for the panel-plus-plugin route, which is the setup I’d choose for a site with real traffic.

  1. Get a VPS and point a subdomain’s A record at it.
  2. Install the push panel on the VPS, or use the vendor’s install service if it has one.
  3. Create a Firebase project and add its configuration to the panel, if the panel uses FCM.
  4. Add your WordPress site as a project in the panel.
  5. In WordPress, install the panel’s plugin and connect it with your API key.
  6. Check that the plugin serves the service worker from your site’s root, then clear caches.
  7. Configure a soft opt-in prompt, subscribe from a private window, and send a test.
  8. Turn on push-on-publish, if you want each new post sent automatically.

For the server side in detail, see how to install a self-hosted push panel on a VPS. For the Firebase step, see connecting Firebase to self-hosted web push.

How do you keep a self-hosted push setup healthy?

Treat the panel like any production server: update it, back it up and watch it. The work is modest, but nobody does it for you.

  • Apply operating system and panel updates on a schedule.
  • Back up the subscriber database off the server, at least daily.
  • Monitor disk space, the queue and uptime.
  • Lock down SSH and the dashboard login.

I cover each of these in my guides to securing a self-hosted push server and backing up a self-hosted push panel. Also, keep the domain you subscribe visitors on stable, because push subscriptions are tied to it.

Is self-hosting worth it for a WordPress site?

It’s worth it when your list is large or growing fast, you run several sites, or you want to own your subscriber data. It’s usually not worth it for a small blog that fits within a free SaaS tier.

The cost logic is simple. SaaS plans often price by subscribers or sends, so the bill rises as you grow. A self-hosted setup costs a server plus a licence or your time, and that cost stays fairly flat. My push notification pricing models guide works through the comparison. If you’d rather not run a server at all, see the disadvantages of self-hosted push notifications first.

Where does LaraPush fit?

LaraPush is a self-hosted web push panel built with Laravel, PHP and MySQL that runs on your own VPS and delivers through FCM. Its free official plugin, Push Notifications by LaraPush, connects WordPress to the panel and supports manual sends and push-on-publish. Free installation and onboarding are included. See the WordPress plugin page and the features overview.

The trade-offs: you run the VPS, the licence covers one server, and there’s no free plan. Pricing starts from $499 one-time (check current pricing), with unlimited subscribers and domains on that server. For other self-hosted options, see my list of the best self-hosted push notification software and the wider push notification services roundup.

Frequently asked questions

Can I self-host web push without a separate server?

Yes, with an all-in-WordPress plugin such as Perfecty Push, which stores subscribers and sends from your WordPress server. The trade-off is that big sends compete with your site for server resources, and that plugin’s own page says iOS and Safari aren’t supported yet.

Does self-hosted web push still use Firebase?

Often, yes. Browsers deliver push through their own services, and Chrome uses Firebase Cloud Messaging. Self-hosting means your subscriber data and sending system are on your server, but the final delivery still passes through the browser vendor’s push service.

Is self-hosted web push GDPR friendly?

It can help, because subscriber data stays on a server you control and you choose where it’s hosted. You still need a lawful basis, a clear opt-in, a privacy policy entry and a way to unsubscribe. Self-hosting doesn’t remove those duties.

Can I move my WordPress push subscribers to a self-hosted tool?

Sometimes. Subscriptions are tied to the service worker and keys of the tool that collected them, so moving them depends on both tools. Ask your new provider whether it can import subscribers from your current one before you switch.

How many subscribers can a self-hosted push setup handle?

It depends on the software and the server size, not on a vendor’s plan limit. A panel on its own VPS can be scaled up by adding resources. Check the tool’s documented requirements and test sending speed as your list grows.

Leave a Reply

Your email address will not be published. Required fields are marked *