How to fix Awstats cPanel 404 Error

The last update of cPanel 62 (build 17) for some reason disappeared with Awstats in a few servers I managed. Luckily, cPanel provides their own RPM of Awstats, so with a few commands you can have Awstats working again:

If you are not running as root, use “sudo” before the commands. That’s all.

DDoS Protected VPS Providers for Reverse SSH Proxy

Image by Peter Hoey
Too big, too late. picture by Peter Hoey
I would never allow users to connect directly to a cloud server, since cloud servers from good providers such as AWS or Google, do not come with DDoS Protection. So, I have to build a protection.
Sometime ago I read a decent review about “DDoS Protected VPS Providers” on LowEndTalk (really, on LET):

It’s indeed very accurate based on my experience so far. Today I trust 3 providers for my SSH/SFTP/MySQL tunnels: LunaNode from Montreal (OVH), RamNode from Atlanta (Staminus) and QuadraNet from Miami (In-House).

Continue reading

Your own VPN in minutes: easy, safe & cheap

You, when using VPN to bypass the network firewall with port 443.
You, when using VPN to bypass the network firewall with port 443.

Everytime I had to setup a VPN, I used to do manually, with guides like these:

To make it easier, I was going to create a shell script like any sysadmin. However, before I did any movement, I went to Google to find if there is already an existing script.
Continue reading

Remove Addon/Parked Domain Manually on cPanel

Isn't simple as that.
Isn’t simple as that.

Recently I had a problem with a customer trying to remove a addon domain on cPanel. Every time he tries to remove, he got different error messages, like “subdomain ‘’ does not exist for user ‘client’”.

Since cPanel couldn’t do it by itself, I went to the documentation to find where the user configurations are located. According to the documentation, the files are store in /var/cpanel.

Continue reading