First let me appologize if this has been answered in other posts. After many serarches on the forum and via Google I have found many references to this problem, but have not found a permenant solution that will work for me.
This is a new installation of Moodle 2.0.1+ (Build: 20110209) on a new install of Ubuntu 10.10 with GUI desktop installed.
It wasn't a "pretty install", but I have been using Moodle for several years and have done many installations so I was able to patch together an installation that seems to work. In short, I attempted the apt-get install of Moodle knowing the issues with PHP5 and Moodle 1.9. That install presented me with a blank page. I then dropped all the tables in the DB and replaced all files in the moodle directory with Moodle 2.0.1 files. Modified the config.php file approriately and ran the installation.
Result: I have a working moodle site as long as I am on the Ubuntu server and accessing via http://localhost/moodle. If I attempt to access it via http://ipaddress/moodle, I get a message "Incorrect address detected. This server may be accessed only through http://localhost/moodle address, sorry" It then redirects to localhost and displays the working Moodle site.
When attempting to access from another computer on the same internal newtork with appropriate IP adddress and subnet, I get the same message, but it obvously can not redirect to localhost, so fails to locate the site.
I have modified the config.php file to have wwwroot as each of the following.
'http://localhost/moodle';
'http://ipaddress/moodle'; (where ipaddress is the correct ip for the server)
'http://._SERVER['SERVER_NAME']/moodle'; (as suggested in one post)
I ran the replace.php to change all localhost to ipaddress.
Nothing changes the behaviour.
My past experience with Moodle tells me this issue has been resolved since most of the posts I found were about ver 2.0 from months ago. I'm hoping that this post will make finding the solution easier for others.
Thanks,
Ken