Manual talk:$wgServerName

If you need the servername in code, use:

$serverName = parse_url( $wgServer, PHP_URL_HOST ); // calculate, e.g., xyz.edu from $wgServer = http://xyz.edu -- — Preceding unsigned comment added by G.Hagedorn (talk • contribs) 2011-11-17 21:20 (UTC)