Thread:Project:Support desk/Cofigure 2X $wgServer/reply (3)

Commenting out $wgServer will make it default to the server used by the user doing the request, which causes that it will be changing depending from what network the user is viewing/editing the page, and causing the problem with the cache that I've mentioned in my response. If you can live with that then it's OK. Otherwise, I already gave you the solution: use a domain name or a host name.