Page 1
Standard

Migrating DNS Servers

I am currently in the process of migrating thousands of domains from my corporate old name servers to our new ones, it is a simple process scripting wise however the odd random few have already been migrated and so there is some clearing up to do as it wasn’t documented properly… (Woops!)

For this reason I whipped together another script which will check the nameservers of the domains in a CSV and tell me if they are on the old or new server. Some customers change their nameservers without telling us as well so I added in a fall back clause for that as well.

Please Note: The purpose of this is very specific, you enter your old and new nameservers and if it doesn’t match it will throw up “Investigate” line. The output is in the format for a CSV file which is beneficial to me for Excel formatting.

The GitHub download link: https://github.com/aaronhatton/Domain-Nameserver-Checker

Standard

List accounts from multiple WHM/cPanel Servers

Like many I run and look after multiple WHM/cPanel servers and find it frustrating that I have to keep looking for what server an account is on. Although it takes minutes with LastPass’ auto login feature it is still a task that wasted valuable time every day, for this reason I created a PHP script which enabled me to view what server the account I needed was on, quickly and with a search feature.

This can be found here: https://github.com/aaronhatton/WHM-cPanel-Multiple-Server-Account-List

Standard

WHM/cPanel CSV Account Termination

I was having a clean out of our WHM servers at work and had a list of domains to be removed; using another script (which will be posted after this one) I got the usernames of the accounts and proceeded to create a simple PHP/cURL script which would delete all of the accounts in a specified CSV. I appreciate it may not be the most efficient script but it is practical for what I needed it for. This can be found on my Public GitHub account

https://github.com/aaronhatton/WHM-cPanel-CSV-Account-Termination