Thread:Project:Support desk/What is the function of $wikiname

We have a wiki farm environment where each wiki link starts with a customer name such as vox.xyz.com;tox.xyz.com;sox.xyz.com etc. We want that when one redirects its url to particular customer link the name of the customer(vox,tox,sox, etc) will be visible in the page. How can the $wikiname variable(in LocalSettings.php) be used to do so? If it cant be used what is the method to do the above?