Manual:$wgCanonicalServer

Details
Server name with protocol (HTTP or HTTPS) to use for links to the wiki from IRC feeds and e-mail notifications.