the future of marketing domains - domain hacks

ever heard of something called "domain hacks"?
i own a few funny domains where the tld is part of the word itself... as a simple example take "damn" there is a tld called .mn from mongolia - so da.mn would be a very cool domain, dont you think?

now take this idea into the big marketing of big companies. think of burger king. "food for the kings", wouldnt it be great for the marketing agency of burger king to offer the domain kin.gs?

so the problem is how to find all those funny domains. i asked this question yesterday and i came up with something very simple but extreme effective.
there is a library called "pspell" that checks with some mathematics if a word in a given language is a correct word. there is also a port for php.
now you just have to make a script that loops from "a" to "zzzz", add the tld and check if its correct. like a.tc, b.tc, c.tc, e.tc - match...

before i start showing you the code and the results you should know that i would never publish this if i could do it by myself. by doing it myself i mean reg all those domains, make a nice portfolio, papermail all the big print/marketing agencies in the world about this funny idea and at the end consult, sell and/or rent those funny domains for their ad campaigns or what else they want to do with it. but sadly i dont have the money to buy all those domains and nobody want to give it to me because you have to pay it yearly and for the first reg mostly for 2 years at once. see the stats at the end of the post...

<?php
$fd = file( 'tldlist.txt' );
foreach( $fd as $t ) $d[] = str_replace( array( "\n", "\r", "\t" ), '', $t );
$ls = array( 'en', 'de' );
foreach( $ls as $l ) {
$pspell = pspell_new( $l );
for( $i = a; $i < zzzz; $i++ ) {
foreach( $d as $e ) {
if( pspell_check( $pspell, $i.$e ) ) {
$h = $i.'.'.$e;
$ip = gethostbyname( $h );
if( $ip == $host ) {
$ip = gethostbyname( 'www.'.$h );
if( $ip != $host ) {
echo $l.': '.$h.' - '.$i.$e."\n";
$domains[$e][$i.$e] = array( $i, $l );
}
}
else {
echo $l.': '.$h.' - '.$i.$e."\n";
$domains[$e][$i.$e] = array( $i, $l );
}
}
}
}
}

?>

tldlist.txt is a text file with the tld's one in each line. i used the tld list from inwx.de - where i reg my domains (they arent the cheapest but the serivce is good and you can get a wide range of tld').
the $ls array is an array of languages you have installed for pspell, i used english and german so its 'en' and 'de', and the result is an array called "$domains" sorted by language and tld. i also echo'ed everything.
its just quick & dirty with a ip check if the domain has a ip so its not 100% sure that the found domain isnt already reg'ed because i dont check the whois data but you have to check this anyway after you picked one.

download: serialized array dump, plain domain list from echo

some stats:
domains found: 4784
domains costs: 201,123.26 EUR - 274,714.26 USD (one year)

if you make money with it - you see the donation button on the right ;)

Activity

2 total comments, leave your comment or trackback.
  1. Nice idea - being from Ireland I can tell you that .ie is a managed cTLD and you cant register a .ie unless you have some right to the domain. Quite strict rules.

  1. September 3rd 2007

Leave a Reply


Search

The archives run deep. Feel free to search older content using topic keywords.