Translations:Manual:$wgServer/13/en

Some web servers end up returning silly defaults or internal names which aren't what you want; for instance the ServerName directive in Apache's  may not be set or detected properly by the system, leaving you with an unexpected $localhost.