I installed moodle on a server on internal network and has local ip assigned to 192.168.1.9. server name is elearn.test.edu.om. DNS entry is there for this server in domain controller. elearn.test.edu.org has an entry in public DNS of service provider (A record for elearn.test.edu.org with public ip say 88.50.2.200)
When we access this server on intranet by elearn.test.edu.org/moodle the host name is changed to local ip address i.e. 192.168.1.9. We have made the changes in config.php for wwwroot to http://elearn.test.edu.org/moodle'. Even same is happening. How to solve this problem?
If we access from outside i.e. thru internet we getting resource might have moved or removed.
Can someone help me to overcome this problem.