Windows server: Unable to properly access Moodle site from other computers in LAN

Windows server: Unable to properly access Moodle site from other computers in LAN

by Anand MG -
Number of replies: 6

I installed Moodle. When I access it from other computers in the LAN, only the first page comes. When I click other pages, instead of substituting "localhost" with the ip of the server say for example "172.20.0.230", the link remains as "http://localhost/login/index.php"

What happens it tat the instead of goin to the login page in the server, it tries to open a page in the computer which is accessing the moodle site from the server.

I tried a lot of methods of installation like using XAMPP installer, using Easyphp, using various versions of Moodle but the problem presists. The server runs on Windows XP and the client is Windows Vista.

Please help me

Average of ratings: -
In reply to Anand MG

Re: Windows server: Unable to properly access Moodle site from other computers in LAN

by has ayya -
I have the same probs. Have installed moodle on win 2008 server and client vista. i can access the first page only....return to http://localhost/whatever insted of login the user in ....any help??
In reply to has ayya

Re: Windows server: Unable to properly access Moodle site from other computers in LAN

by has ayya -

Change $CFG->wwwroot = 'http://192.168.xx.xx/whatever..
and will work without problem. it has worked for me.cool

In reply to has ayya

Re: Windows server: Unable to properly access Moodle site from other computers in LAN

by Anand MG -

Yup...  I changed the same settings in the config.php file. it works fine for me now.

In reply to has ayya

Re: Windows server: Unable to properly access Moodle site from other computers in LAN

by joilson alcebiades da cunha -
mudar o q??? eu não estou conseguindo acessar meu moodle da internet o q deveria ser uma operação simples está se tornando um problema, da LAN ele funciona coretamente, a partir da web não.
In reply to joilson alcebiades da cunha

Re: Windows server: Unable to properly access Moodle site from other computers in LAN

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers

Muda o $CFG->wwwroot "variable" no o teu config.php file...

Ok, ok... I'd better do this in english before I embarrass myself! big grin

Change the $CFG->wwwroot variable in your Moodle config.php file so that it contains your Moodle web address, e.g.:

$CFG->wwwroot = 'http://yourmoodle';