Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan

How to configure High Availability for a Web Server using Syncthing and HAProxy (on OPNSense)

by Jan Bachelor December 8, 2025
205 views
206

Running a mission-critical website on a single web server creates a significant risk, as routine maintenance or unexpected hardware failures can take your service offline instantly. This tutorial guides you through transforming a standalone web server into a resilient High Availability (HA) cluster using accessible open-source tools.

We will utilize Proxmox to clone your existing environment and deploy OPNsense with HAProxy to intelligently distribute traffic between multiple nodes. To handle dynamic content, we solve the challenge of file synchronization by implementing Syncthing, a decentralized peer-to-peer tool that keeps folders like WordPress uploads identical across servers in real-time.

You will learn how to configure Syncthing on headless Linux instances, tunnel securely to its GUI for management, and set up automated health monitoring using Uptime Kuma. By the end, you will have a robust architecture that can survive individual server reboots without downtime, offering a simpler alternative to complex enterprise distributed file systems.

Tutorial’s Outline:

1. Why would you need Syncthing for web server HA? 2. Clone your web server (Proxmox) 3. Configure HAPRoxy with web server instances 4. Set up Syncthing on web servers 5. Trobleshoot Common Syncthing Issues 6. Monitor Syncthing jobs with UptimeKuma 7. Run a Syncthing test with your website 8. Alternatives to Syncthing & Wrap Up

0 FacebookWhatsappEmail
Jan Bachelor

previous post
Set up a Galera Witness on Hetzner VPS using Terraform + Ansible (AWX)
next post
Deploy Vaultwarden in multi-site environment (Docker, OPNSense, Galera cluster, Nginx)

Course Steps

Other courses

Turn your Raspberry Pi into a Proxmox Backup...

July 13, 2025

Create an automated Gravity workflow that will allow...

January 19, 2024

Dynamically Populate Gravity Forms from Google Sheets (GSheets...

March 16, 2021

Concur Alternative: Import Employees’ Credit Card Expenses to...

January 19, 2024

OPNSense in HA with CARP with dual WANs

June 30, 2025

Buy Me a Coffee

Buy Me a Coffee Buy Me a Coffee

Recent Posts

  • Check for remaining disk space on your fleet

  • How to get LXC containers for Proxmox outside of ready-made templates

  • How to join two Proxmox nodes into a cluster (PVE 8.x)

All Rights Reserved. The theme was customized from Soledad, see PenciDesign

Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan