First, it's a very good script ....thanks.
...but redirection for sub-domains does not work.
http://www.bq--abrws5dsn7vw4.mltbd.com
Two test sub-domains I have registered:
http://test.bq--abrws5dsn7vw4.mltbd.com
http://test2.bq--abrws5dsn7vw4.mltbd.net
Same result with unregistered domains: e.g. http://test-unregistered.bq--abrws5dsn7vw4.mltbd.com
http://www.bq--abrws5dsn7vw4.mltbd.com/anything-stupid is redirected to http://www.bq--abrws5dsn7vw4.mltbd.com/home.htm
my DNS settings:
bq--abrws5dsn7vw4.mltbd.com. 14400 IN NS ns1.totalchoicehosting.com.
bq--abrws5dsn7vw4.mltbd.com. 14400 IN NS ns2.totalchoicehosting.com.
bq--abrws5dsn7vw4.mltbd.com. 14400 IN A 216.180.225.178
localhost.bq--abrws5dsn7vw4.mltbd.com. 14400 IN A 127.0.0.1
bq--abrws5dsn7vw4.mltbd.com. IN MX 10 MAIL.OEMMAIL.COM.
themail 14400 IN CNAME WEB.OEMMAIL.COM.
www 14400 IN CNAME bq--abrws5dsn7vw4.mltbd.com.
ftp 14400 IN A 216.180.225.178
* 14400 IN A 216.180.225.178
I have access to cpanel and whm.
Could you please enlighten me?
btw does www in front of the sub-domains work? e.g. http://www.test.bq--abrws5dsn7vw4.mltbd.com
Thanks
Maximus