Installing MediaWiki on Ubuntu

Discussion in 'Installation/Configuration' started by adamsma73, Dec 15, 2014.

  1. adamsma73

    adamsma73 New Member

    Hello,

    I have run into a problem. I installed Mediawiki on Ubuntu using the instructions from
    Code:
    http://www.howtoforge.com/how-to-install-mediawiki-on-ubuntu-14.04
    I am able to use mediawiki on that computer. But when I try to access it from another computer I get an error message.

    In other words on the host computer I can access media wiki by going to
    Code:
    //localhost/mediawiki
    I can also access it by going to
    Code:
    //143.223.100.144/mediawiki
    but I'm unable to access it from any other computer on the same network. If I go to
    Code:
    //143.223.100.144/mediawiki
    from a different computer it changes to
    Code:
    http://localhost/mediawiki/index.php/Main_Page
    . If I force it to
    Code:
    http://143.223.100.144/mediawiki/index.php/Main_Page
    It says File not found

    I have set up media wiki on a ubuntu computer about 4 years ago. And got it all working but that was at a different job and do not have access to it. Not sure what I'm doing wrong this time.
     
    Last edited: Dec 15, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if mediawiki was installed trough localhost and not http://143.223.100.144/mediawiki which means that mediawiki now redirects all requests to localhost which will not work from outside.
     
    Joy Mali likes this.
  3. adamsma73

    adamsma73 New Member

  4. webguyz

    webguyz Member HowtoForge Supporter

    If this has a db then use phpmyadmin to take a look at the db looking for something like an Options table or Config table and then check to see if there us a hardcoded url field that you can change.

    Wordpress is similar where it has the domain name and install folder in a filed in the db but you can go in and change it if you move that copy of wordpress to another location or your domain name changes

    You could always check with the forum of the product your trying to install and see if they can give you an exact location on what to change to fix this.
     
    Joy Mali likes this.

Share This Page