Backups are important but sometimes files are just too big to save to your computer or to the server that you're trying to backup. This is when you might want to backup to another server through ssh. Here is a command that allows you to backup a folder to another...
Changing PHP FPM Versions in Virtualmin
The issue is that Virtualmin currently only supports a single version of PHP FPM and seems to want to use PHP 7.2 no matter what I do, and I want it to use PHP 7.3 which is also installed. This appears to be a long-standing issue with Virtualmin. I solved it by...
Allow Access to .well-known Folder For Let’s Encrypt/Certbot When Site Is Protected By HTTP Authentication
If you're running Apache web server and you have your site protected with HTTP authentication but still want to allow Let's Encrypt/Certbot to be able to issue a certificate you will have to allow access to the .well-known folder on your site. Otherwise they may give...
Install new ARK server on Ubuntu 16.04
First provision your server at your desired web host. I recommend using an 8GB Linode VPS. I could not get the server to start on a 4GB but maybe some day they will optimize it enough for that if you aren't planning to have a lot of players. Linode is great because...
Website downloads instead of displaying
Recently I noticed a few sites had a page download instead of displaying when they were working perfectly fine before. I'm not 100% sure why but in my case the fix was to go into Virtualmin and toggle the PHP Version to some other version and back to my current one. I...
Bash Script for Installing / Updating Java JDK RPM
Here's a BASH script I wrote which downloads and installs the Java JDK RPM. Tested on CentOS 6.x. If you are looking to install on Ubuntu (or Mint) go here. It also downloads the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files which are...
Redirect Apache ServerAlias to ServerName
I had a website that was moved to a new domain name but I wanted to make all the old URLs redirect to the new domain. However, redirecting using a typical .htaccess redirect as shown below wouldn't work because it was new using the old domain as a ServerAlias to the...
Recursively find and replace php.ini date.timezone
I recently had to update PHP on a server and the php.ini settings but then the date.timezone wasn't set in a bunch of servers. So I decided just to search and replace them instead of doing them all individually. find . -name 'php.ini' -type f -exec sed -i...
Building mod_webpresence for ejabberd on CentOS
I keep forgetting how to setup the mod_webpresence for ejabberd whenever I happen to reinstall everything so I am typing it out here for future reference and maybe it'll even be useful for others. The instructions aren't 100% clear for me on the ejabberd-contrib...
Hosting Recommendation
Hostinger - The Secret Weapon of Successful Site Owners
There's a reason I recommend Hostinger. After testing dozens of hosting providers, only Hostinger delivers the perfect combination of:
🔥 Blazing-fast load times
(essential for performance)
🛡️ Rock-solid uptime
(your sites earn money 24/7)
🔒 Free SSL certificates
(builds trust instantly)
💾 Automated backups
(your business is always protected)
👨💻 Expert support
(problems solved in minutes, not days)
⚙️ One-click WordPress setup
(seamless integration guaranteed)
💰 Starting at just $2.99/month
(premium hosting that won't break the bank)
Use my link or referral code
MILLIONDOLLARS to get 20% off !