Access Moodle from outside the server

Access Moodle from outside the server

by Dave Duff -
Number of replies: 1
How do I configure Moodle to access from outside the Moodle server?  At this time, the only way I can access Moodle is on the server through \\localhost.
Average of ratings: -
In reply to Dave Duff

Re: Access Moodle from outside the server

by Matt Molloy -

Hello Dave,

Go to the config.php file, and instead of

$CFG->wwwroot = 'http://localhost/moodle';

or whatever is there, put the web address of the site, or for across across a LAN, put either the ip address or the network name of the computer.