How to Make Subdomain Checker Like WordPress.com Has?

admin

Administrator
Staff member
I'm giving free subdomain for my reader, most of them use it for blogspot custom domain CNAME record.

I want to know how to create subdomain checker like wordpress.com has? So i can easily spot whether the subdomain already taken, so they can check on their own if it's available or not. I'm using PHP on my site. Thanks.