Moodle two IP Addresses (LAN & Internet)
I am using Moodle locally hosted on Intranet
Students can access it without any problem. Its a normal server with one NIC.
We have a setup of Local Active Directory, DNS & DHCP etc.
Currently the setup is that the IP address of the Moodle is mapped with ISP and LAN users are accessing it via that external IP address.
It means that even local users on LAN use the External IP address to access it, which is a bit slow.
I read a lot on forums and everyone is suggesting to forward local machines via DNS to point at the external address.
How can i do it?
I want to have the settings of external IP address in Moodle Config file meanwhile i want the intranet users to access the server on LAN with excellent speed.
Can anyone tell me in steps how to do it via DNS?