thinking out loud…

…ramblings of Peter Amiri

Clean HTTP Usage in cPanel IP Usage table

May 13, 2011 | Comments Off

Once again this is a place holder for myself as to the steps needed to change a phantom entry in the IP Usage Table in cPanel. We run our cPanel servers on VM within our environment. So we have a cPanel template that is used to spin off new servers as needed. The IP and host name of the newly spun off servers has to be changed and sometimes the old entries get stuck in this table.

cd /var/cpanel/userdata/nobody
“ls” showed the following files:

main main.cache

nano main

/scripts/rebuildhttpdconf

/etc/init.d/httpd restart