MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Administrator on January 08, 2014, 01:55:21 PM

Title: How to configure MediaWiki on temporary URL ?
Post by: Administrator on January 08, 2014, 01:55:21 PM
Dear Wiki Users,

This tutorial will help you to configure MediaWiki on the temporary URL. It comes handy when your domain does not points to server IP. Alternatively, you can point the domain name locally using the hosts file (https://www.milesweb.com/hosting-faqs/how-to-use-hosts-file/) on your local machine.

Login to your File Manager OR FTP & access file LocalSettings.php. Edit this file and find for options below.

Quote
$wgScriptPath & $wgServer

wgScriptPath is the DirectoryPath where MediaWiki is installed & $wgServer is the server IP address. When updated they should look like below.

Quote
$wgScriptPath = "/~cPanel-username";
$wgServer = "http://xx.xx.xx.xx";

Replace cPanel-username with actual cPanel username & xx.xx.xx.xx with actual web server IP address.

Save the file & you will be able to access your MediaWiki installation on temporary URL.