How to find accounts which are not pointed to the server
Hello
Is there any cPanel script or does any one have script to find out the list of domains/accounts which is not pointed to the server but it was hosted on the server
We need to remove such accounts to free up the Resources
-
There is such a script but we were unable to find it so we manually went through our list of domains on our servers to see where they were being hosted. It was time-consuming but necessary. 0 -
There is such a script but we were unable to find it so we manually went through our list of domains on our servers to see where they were being hosted. It was time-consuming but necessary.
Checking the things manually on a server which has over 5000+ accounts will be time consuming so if anyone have such scripts it will be helpful :)0 -
If you want to look at my sig you might find something that would help. Trying to avoid self-promotion, but we have a tool just for this among other things. 0 -
Use a command like cat /etc/localdomains | sort >> domains.txt And then this script Lookup A-record and Nameservers for a list of domains in a txt file, output into a csv file Adjust the command/script per your needs. 0 -
It will check all domains. Give it a try :) 0
Please sign in to leave a comment.
Comments
7 comments