I have a management problem with my Hostgator packages. It’s easy to fix, but I just don’t have time to take care of it myself. Here’s the situation:
I have a VPS (Virtual Private Server, running Virtuozzo/WHM/cpanel, with 235 accounts) and an RS (Reseller Server, running WHM/cpanel, with 305 accounts).
These two servers have hundreds of cpanel accounts in common. For each domain, I need to determine which of the two servers is actually being used, and then delete the cpanel from the server that’s actually not being used.
You’d have to check all the parked domains too, because it is possible that on a single cpanel some parked domains are pointed to one server while other parked domains are pointed to the other server (regardless of where that cpanel’s main domain is pointing).
What I did for you already is created a loop that spit out the following txt files in the root of the VPS:
(Cobalt is the name of the RS.)
-rw-r–r– 1 root root 17K Sep 22 01:31 cobaltdomainandips.txt
-rw-r–r– 1 root root 6.4K Sep 22 01:34 cobaltdomainspointedtovps.txt
-rw-r–r– 1 root root 9.1K Sep 22 01:24 cobaltdomains.txt
-rw-r–r– 1 root root 9.9K Sep 22 01:35 cobaltnotonvpsornoip.txt
-rw-r–r– 1 root root 15K Sep 22 01:29 vpsdomainandips.txt
-rw-r–r– 1 root root 9.7K Sep 22 01:34 vpsdomainsonvps.txt
-rw-r–r– 1 root root 8.2K Sep 22 01:24 vpsdomains.txt
This is actually the information that you will need to get started.
Using the information that I have provided, while it may be time consuming, you should be able to remove the accounts that are on the wrong servers pretty easily.
Who here can take care of this for me?