Changes

From Amahi Wiki
Jump to: navigation, search
1,090 bytes added ,  20:07, 16 June 2013
}}
And you are done, enjoy your website.... or are you? '''WARNING:'''Some apps will work right out of the box so to speak with these steps. Others however, (such as mediawiki) will require additional work before you can visit them on the internet. You will need to edit the apps config file to change the server address of that app. We will use mediawiki as an example. So suppose I have a domain name, which is pointed at my hda - and I set up a subdomain that for the mediawiki app. We'll call it mediawiki.myname.com. After installing media wiki, I need to go{{Code|sudo vi /var/hda/web-apps/mediawiki/html/LocalSettings.php}}And scroll down to {{Code|## The protocol and server name to use in fully-qualified URLs$wgServer = "http://mediawiki";}}then change to {{Code|$wgServer = "http://mediawiki.myname. com";}} then enter these commands:{{code|sudo rm -r /etc/lock/apache2sudo php /var/hda/web-apps/mediawiki/html/maintenance/Update.phpsudo service apache2 restart}} Now you should be able to view http://mediawiki.myname.com from inside your network and on the internet as well.
= Hosting Multiple Webapps =
3

edits