I installed the Bitnami MediaWiki on Google Cloud and registered a new domain name (e.g. http://example.com
) then redirected it to my MediaWiki IP.
I then changed $wgServer
in LocalSettings.php
to reflect my new domain.
The $wgScriptPath
variable in LocalSettings.php
remained $wgScriptPath = ''
as before.
Typing http://example.com
in the browser gets me to my MediaWiki site, however the URL still remains an IP address (i.e. http://xx.xxx.xx.xx/wiki/Main_Page
).
How do I make it such that the base URL changes to the new domain name (i.e. http://example.com/wiki/Main_Page
)?