IP address configuration problem

IP address configuration problem

by steeven huang -
Number of replies: 4

I have a problem about the change of config.php

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

When we change the txt in blue into a local IP address such as 'http://10.200.0.156/moodle'

then all the computers from Lan can make a successful access to moodle by the domain

'10.200.0.156/moodle',but computers from Internet can't make a sucessful access with moodle while they can make a successful access to other site on the server.

After we change the IP address into a Internet ip address ,then we can open the site of moodle from Internet while can't open it from the lan and localhost.

How to change the config.php if we want to open the site of moodle both from the Lan an Internet?

Average of ratings: -
In reply to steeven huang

Re: IP address configuration problem

by Jon Bolton -
Picture of Testers
In reply to steeven huang

Re: IP address configuration problem

by Richard Enison -