Category Archives: Cpanel
Share a folder between 2 cpanel accounts on a server
If you have a customer that wants to share a folder between 2 separate accounts of theirs, it’s a little tricky to get the permissions just right, but it can be done fairly easily. Note* This is not something that cPanel supports, and their may be some inherent security risks with this, so do this …
Removing a MySQL database that contains a period in it – cPanel
Sometimes you may come across a database that contains a period in the name. This will cause you problems when trying to move the customers site to another server. This database will not be removable from within cPanel itself. to remove it, do the following: Example database name (mydatabase.out) Example Customer cPanel username (mycustomer) …
How to block certain countries from accessing your server with CSF
Sometimes you may get targeted by fraudsters or hackers from a specific country. If you do not expect to ever have legitimate business, or website visitors in those countries, you can block them all together using CSF (ConfigServe Firewall Download here) To do this, once you have CSF installed on your cpanel server, login …
Move /var/log to a new partition without breaking auto responders – cPanel
If your /var/ partition is full, and you’re having problems tracking down things you can safely delete, something you can do is move the /var/log to a different partition like /home. To do this, you will need to modify a file however otherwise, customers auto responders will break. I’m not sure why this happens, however …
Full root partition and comet files
If you have a full root partition, something you can check is /root/.cpanel/comet. If this folder is large, you can safely clean it up by running the following command that will remove all files in this directory that have not been accessed in more than three days. /usr/local/cpanel/bin/purge_dead_comet_files These folders are created as a part …
How to move a cPanel subdomain Document Root to a new location
If you have a customer that setup a subdomain and they used the default location (/public_html/subdomain/), but they have decided that they want to move that outside of the public_html folder, you need to do the following. Open /var/cpanel/userdata/$USERNAME/$SUB.DOMAIN.COM in your favorite text editor Change the path on the “documentroot” line to the path …
Manually re-install FrontPage Extensions
While virtually nobody supports frontpage anymore, this still comes in hand on older servers where customers refuse to believe that frontpage is buggy, insecure software. On a cPanel server, to reinstall frontpage extensions from the command line, do the following. *** Note this is destructive SSH to the server the customer is on. cd ~theirusername/public_html …
cPanel/WHM logs and locations
Many times you will run across an issue and are unsure what is happening/happened. cPanel has many logs available to the user, but it’s finding the location of these logs that is important. In this post, we will be talking about cPanel logs, and what is in the logs. You can always use the grep …
- English Support
- 24/7 x 365
- Branded Support
- Reduced Overhead
- Linux Experts
- Friendly Staff