Only check the main domain (auto remove subdomain)
Only check the main domain (auto remove subdomain)

Auto remove subdomain of the $domain and keep the main part only.

eflyjason/php-simple-whois-parser