Self-host LibreSpeed on a VPS
A self-hosted internet speed test.
Run your own speed test page to measure real throughput to your server from any browser.
Why self-host LibreSpeed?
LibreSpeed lets you benchmark connectivity you control, useful for diagnosing network issues.
How to install LibreSpeed
- 1
Provision a VPS
Choose a plan with room for your data as well as the app.
- 2
Install the stack
Install PHP/Node/Go variants.
- 3
Deploy the application
Follow the project’s official install guide for your distribution.
- 4
Enable HTTPS
Serve it on your own domain behind a reverse proxy with a certificate.
- 5
Back it up
Schedule a database dump plus a copy of any uploaded files to an off-box location.
Practical tips
- Give LibreSpeed its own database user with rights only on its own schema.
- Reverse-proxy LibreSpeed and terminate TLS at the proxy so certificates are managed in one place.
- Take a VPS snapshot before major upgrades so you can roll back cleanly.
- Keep LibreSpeed patched — most self-hosting incidents are unpatched software.
Frequently asked questions
- How much RAM does LibreSpeed need?
- Plan on 256 MB for typical use; add headroom if you expect many concurrent users.
- What stack does LibreSpeed run on?
- PHP/Node/Go variants.
- Can I run other things on the same VPS?
- Yes — size the plan so LibreSpeed plus your other workloads fit in RAM with room to spare.
Looking for something else? Popular alternatives include iperf3, Speedtest (Ookla, hosted), OpenSpeedTest — browse all app guides.
About LibreSpeed
LibreSpeed is open-source software released under the LGPL-3.0 licence. HostingSwift does not maintain, sell or support LibreSpeed itself — you install and run it on your own VPS. These are the official links to the project:
- Website: librespeed.org
- Source code: github.com/librespeed/speedtest
Read the project's own documentation before deploying. We credit upstream projects because we genuinely run and recommend them — see our full open-source directory.