I find that a lot of space taken up on clients’ hosting accounts is from emails, usually emails many years old.
One easy way to save much of the space is to archive the emails in offline folders after a period of time. You only need to do this for your main device if multiple devices use the same account.Continue reading Moving IMAP emails offline to save web space
After seeing that cPanel doesn’t offer a quick way to change a reseller for a user, I’ve made a simple script to set this in shell.
Continue reading Quickly update the reseller ownership in cPanel
Migrating from PHP 5.x to PHP 7.x is a hassle when you’re dealing with a large website or multiple websites on a server. So, I’ve made some improvements to an existing a shell script to recursively modify directories of PHP pages that load in 4 or 5 but will no longer run in PHP 7.
Continue reading Bulk update your code to run with PHP 7.0+
I’m always create new forwarding emails for different websites – helps me track down if and when their email list is hacked… To save logging into cPanel or WHM, I’ve created a little script to quickly add new forwarding emails.Continue reading Quick email forwarder in Shell
This was considerably harder than I thought and there is very little online about migrating away from Office 365 to cPanel. This guide makes things much simpler, saving time looking up the relevant arguments and avoiding the mismatches with the names of the main IMAP folders. You’ll need a copy of the free software: IMAPSync – used to synchronise emails to and from one server to another.
Continue reading Migrating from Office 365 or Yahoo! Mail to cPanel using IMAPSync
Everyone on Xenacia has a free HTTPS address with a valid TLS certificate! This is all thanks to the amazing crowd funded open certificate authority: Let’s Encrypt.
Continue reading Free HTTPS across the server!
Finding that a lot of spammers are grabbing your publicly listed WHOIS email address – sending spam about marketing, web development and fake renewal invoices? Perhaps you don’t want to pay $5+ a year for WHOIS privacy per domain to avoid the spam?
Well, there’s a simple way to stop all of that for free…
Continue reading Stop all WHOIS email spam
Would you like to clone any website in cPanel? There is a pretty fool-proof way to clone a website and change the references to URLs, paths and database details. There isn’t one perfect catch-all method, but you can cover most bases using this short guide. Continue reading How to clone a website in cPanel
This is my biggest bash script yet! It will fully install WordPress from a shell command and add a number of security measures to boot.
Continue reading WordPress Installer
I’ve recently added Varnish Cache to my server with cPanel installed. Varnish Caching is now installed server-wide. It acts as an invisible intermediary between clients and the server and delivers some major speed improvements, noticeably to Magento and Drupal websites.
The Varnish install script created by Shubham Mathur worked very well but it currently doesn’t consider additional IPs. Also, you’ll need something to amend the
$_SERVER['REMOTE_ADDR'] server variable to show the client’s IP address and not the server’s.
Continue reading Installing Varnish Cache on a cPanel Server