Skip to content

Category: cPanel/WHM

22 July 2026 · cPanel/WHM

Using Laravel Queues on Shared Hosting

When all you have is CRON! Sometimes, shared hosting must be used that does not permit the installation of supervisor to run the queue worker. A common example of this are servers deployed with cPanel access only. One approach for non-time sensitive queue work (such as sending emails) is to add a task to the…

Read on →

22 July 2026 · cPanel/WHM

Super simple script to fix cPanel permissions

A script designed to automatically fix and correct permissions and ownership settings on files and directories belonging to cPanel accounts. This utility ensures that all files and folders are assigned the proper permission values and ownership attributes, helping to resolve common issues that can arise from incorrect configurations, manual edits, or software installations that may…

Read on →

13 July 2026 · cPanel/WHM

Hardening cPanel with a Custom “Pre Main Virtual Host Include”

Every WordPress and PHP site tends to leak a predictable set of files: .git folders, .env files, backup copies, lockfiles, log files. None of it should be reachable from the browser, but by default, plenty of it is. cPanel lets you fix this globally with a pre main virtual host include — a config snippet…

Read on →

13 July 2026 · cPanel/WHM

Automatically updating Cloudflare IPs in WHM/cPanel

If your WHM/cPanel server sits behind Cloudflare, Apache needs to know which IPs are actually Cloudflare’s proxies so it can trust the CF-Connecting-IP header and log real visitor IPs instead of Cloudflare’s. The problem: Cloudflare’s IP ranges change occasionally. Here’s a small script that keeps things current automatically. How it works Automating Cloudflare IP Range…

Read on →