I use linkit with drupal and like what it does - I.E. handles internal links relative to the main site URL. Therefore, when I test a site on my workstation and push it to a remote server for deployment, that is all taken care of. I am new to drupal but have been doing web progamming for the better part of two decades and my own tools can do the same thing.
I am wondering there is a module that would enable me to set up an association between a hostname and an absolute link. A psuedo-code example using PHPish syntax would be something like this: link_map = array('host266.hostmonster.com' => '/my/remote/path/to/some/page', linus.johnson.com' => '/local/and/totally/different/path/to/some/page'); print('<a href="' . link_map[gethostname] . '">My dynamic link</a>')
TIA