Moodle on a Server: Secure It Before Going Live (Firewall, Database & Mailpit Lockdown)
Description
Prepare Moodle 5.2 for a public-facing Ubuntu server before adding a domain and HTTPS. We inspect every open port, verify the UFW firewall, confirm MariaDB is bound to loopback, pull Mailpit back behind an SSH tunnel, point Moodle at its public IP, and then PROVE the boundary holds — from outside the server. Environment: Ubuntu 24.04 LTS · Apache · MariaDB · PHP 8.3 · Moodle 5.2 · Mailpit · OVHcloud VPS I use an OVHcloud VPS in this video, but the same principles apply to other internet-facing Ubuntu servers, including cloud virtual machines, dedicated servers, and publicly accessible on-premises servers. This is not a complete Moodle or Ubuntu hardening guide. The objective is focused: make the Moodle website reachable while keeping the database and Mailpit private before configuring
26:0304 - How to host a HTTP server on a VPSgnif554 views
20:37How To Protect Your Linux Server From Hackers!LiveOverflow335K views
9:28EXPOSE your home network to the INTERNET!! (it's safe)NetworkChuck1M views
17:26Quick tips to improve Linux Security on your desktop, laptop, or server (hardening for beginners)The Linux Experiment401K views
18:43Self-Hosting Security Guide for your HomeLabTechno Tim728K views
25:56Self Host 101 - Set up and Secure Your Own ServerSyntax177K views
24:26Keep Your Home Lab Online With a UPS, NUT, ...and wolnut?Hardware Haven219K views
1:06:30SAFELY Use Your Ham Radio Remotely!Ham Radio Crash Course5.1K views
5:21Change these Wordpress Security Settings NOW!!All Things Secured10.1K views
12:48How to Host Your Own Website in 2025 (FREE SSL, Secure SSH, Custom Domain)JDS Designs103K views
3:37How to secure your Linux serverContabo1.1K views
20:39New Linux Server? Perform These 10 Tweaks FirstLearn Linux TV226K views
2:59Step By Step Guide To Updating and Patching Linux Server | #LinusServer #WebServerABC Hosting532 views
38:05Your AI Agent Is Probably Hackable. Fix It in 30 MinutesTech With Tim32K views