Now here is where the issue occurs, I just built A Ubuntu LAMP server, and then installed Moodle, this went flawlessly. I then did some access tests from our internal WAN, the server was very speedy. Here are the server Specs:
Dell Poweredge 2500
Ubuntu 6.06 LTS Server Edition
Command Line only
4 GB Ram
160 GB SCSI HDD's Raid 5
Dual P3 1.0 Ghz CPU's
Internal GB Nic
Eth0 is set up on the 10.10.xx.xx address
I apply the same Virtual IP Configuation as all our other fully functioning Webservers, and forward 199.216.xxx.xxx to 10.10.xx.xx and apply a policy to put this in place, and forward port 80 and other services I want for moodle. The results in speed are DISMAL, when I try to access it externally from it's Virtual IP, I have tried from several outside connections and eveytime, the browser chugs away for 10 minutes, and after that a get a partial display of the moodle front page.
Since most of my other servers are IIS, I am wondering if Apache reacts different with my nating firewall and virtual IP, because my windows server seem to love there virtual IP...
Any advice or solutions that anyone has to offer would be great, I really look foward to hearing from you
Thanks in advance for all your help!
Just to make sure I have the configuration right, what do you think it would look like in the $CFG->wwwroot for my scenario?
You need to put something that is resolvable/reachable from both the outside and the inside.
The Right Way(tm) to do it is by using a DNS domain name that you later map to the right IP (public IP on the outside, private IP on the inside). This way you have stable URLs and don't have to mess with NAT, routing, reverse proxying and URL rewriting and so on.
Of course, not everybody can control their DNS names, so they do what they can (all of the things mentionned above).
Worked like a charm! That was the one thing I was missing for my VIP NAT to work, thank-you so much!!
Performance is GREAT now!
I had exactly the same problem today. I am BRAND NEW to Moodle; would you mind sharing the steps I need to go through to:
"configured Moodle's $CFG->wwwroot to use the external Virtual IP address"
Thank you in advance.