Hello all,
I recently registered a domain name with MyDomain.com for my self-hosted Moodle site. I am running an Ubuntu LAMP server with Moodle 1.7 installed. Internally, everything worked great and after registering my domain I changed the wwwroot to 'http://www.mydomainname.com'. For several hours everything worked great - the address would resolve just fine, all links were masked...all of a sudden, my site reverted to the dreaded 'frames' version of itself (i.e. completely unusable). From searching the forums, I gathered that some providers use frames which can be detrimental to Moodle, but before I go transfering my domain to a different provider I thought I'd ask for some help here and hopefully avoid the transfer altogether.
Here are some scenarios I've played with so far:
1) When I change my wwwroot back to my external IP, I can access the site just fine by typing the IP in the address bar - all functionality is back. If I type in my domain name, the site works but browser status bar displays the IP address when navigating or hovering over links. Looking at the HTML source, it's the frames version of the site when loaded using the domain name and complete code when the IP address is typed in.
2) Setting my wwwroot to my domain name breaks Moodle completely, whether I type in the IP or the domain name in the address bar. When I hover over the links, some of them show the IP, others the domain name. HTML source shows the same results as example 1.
As for the settings on my MyDomain.com account, I currently have no 'A' record, URL forwarding is disabled. It may seem odd, but as I said in the beginning, I had it working for a while yesterday using those settings and mydomainname.com as my wwwroot.
Any and all hints you can provide are much appreciated,
Adnan