Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Reload UFW rules on Ubuntu without downtime—install with
apt install ufw
add rules like
ufw allow 22
and
ufw allow 80
then enable with
ufw enable
Update rules (e g
ufw allow 443
) and reload with
ufw reload
—this applies changes without dropping connections Verify with
ufw status
—expect \"443/tcp ALLOW Anywhere\" Test SSH (
ssh user@ip
) and HTTP (
curl http://ip
)—expect no interruption On DigitalOcean this maintains MySQL and phpMyAdmin uptime—check logs with
tail /var/log/ufw.log
to confirm reloads ensuring seamless firewall updates

Back to All Tips