I know what ya should do, use the Zend Encoder ( or another similar obsfuciation / encoding product ) to encode just one vital file.
That one vital file can have important stuff it in, functions, classes, AND the thing that restricts it to a certain domain ( if ($_SERVER['HTTP_HOST'] == "whatever.com") )
include() that file, that way your app won't work without that file, cause it needs the functions, so you have to include the file which has the HTTP_HOST checker.
Actually, probably the better thing to do than checking what HTTP_HOST is equal to, is to check for stristr ($_SERVER['HTTP_HOST'], "whatever_domain_they_registered_it_under") because that covers [url]http://www.http_host.com,[/url] [url]http://http_host.com,[/url] [url]http://the-other-subdomains.http_host.com,[/url] etc.