Thread:Project:Support desk/Mediawiki not working properly when installed under proxied zone/reply (3)

Well basically those configuration variables need to be set in such a way that the following would give an edit page url  that would, if you directly typed it into your web browser, actually go to the edit page. (That's a bit of a white lie, the construction of such urls is actually a bit more complicated, but that's the basic version of how those variables work)

Note, all these variables are for how the web browser sees the url (and not how the web server sees the url), so even if https://domainname.com/wiki maps to some sort of virtual server, as far as the web browser is concerned, the actual server is https://domainname.com and the /wiki part is part of the $wgScriptPath.

(MediaWiki has other variables for internal server names - manual:$wgInternalServer - but its unlikely you would need those unless you have a caching web proxy in front of your web server you need to purge cached pages out of)