Congrats! But, reading the source, I cannot but wonder: would this not work much easier with a simple .htaccess or nginx redirect-map.conf.
It seems to do the exact same, but with an additional layer of complexity and slowness on top (php).
Not meant as criticism on launching (again: congrats!) just my curiousity after building and hosting several link shorteners myself.
Bitcoin Maston Instance