Category Archives: cPanel Hosting

Force cPanel to update from the command line

There are times when you try to update cPanel from the UI and it will fail or will hang.  When this happens, you are able to force the update from the comamnd line.   SSH into the server as root, then run the following command. /scripts/upcp –force This will show you what is going on will [...]

Create a missing DNS zone on a server with cPanel

If you have ever used cPanel, there may have been a time that a DNS zone was missing even though your domain was already added on.  If you have root access, you are able to fix this by using the adddns script.  This is located in the /scripts directory, but only if you are using [...]

Create a cPanel backup from the command line

You are able to create a backup of a cPanel user’s account by using the pkgacct command in the /scripts directory that can be found on any server that has cPanel installed.  If you needed to create a backup of the account for a user named user1, you would need to be in a root [...]

Check when a domain was removed from cPanel

If you are hosting with cPanel and had a domain removed and would like to find out when, you can check in the cPanel access logs like this: ~]#grep cpaneluser /usr/local/cpanel/logs/access_log |grep domain|grep dodeldomainconfirm Also, using the same method, you can find out when a subdomain was deleted ~]#grep cpaneluser /usr/local/cpanel/logs/access_log |grep subdomain|grep dodeldomainconfirm Be [...]