I have problem with accessing mediawiki on a server with apache2. I installed mediawiki in /var/www/wiki directory.
I can access index.php in /var/www by typing in browser "myhostIP", but if I type "myhostIP"/wiki then line became "different_name_of_myhost"/wiki/index.php/Main_Page and I have message "firefox cannot find server at "different_name_of_myhost"/wiki/index.php/Main_Page".
If I try just type in browser "different_name_of_myhost" then I cannot access index.php at /var/www. why? and why I cannot access mediawiki? If the problem was connected with access rights of /var/www/wiki then I would get "access denied" in the browser. Do you have clue what is going on? thanks