Help, Elgg appears Plain, no color or graphics

Hi all.

I installed Elgg 1.7.14 on my Ubuntu server 11.04 with LAMP

The problem is that if I call Elgg from my server (http://localhost/elggDDC/) everything is fine, but if I call it from another machine, from the intranet or the internet, I get the page flat (no color or graphics).

Guess I'll have something wrong in the configuration of PHP or Apache2, but other applications, such as eyeOS 1.9, which is also based on php, are working properly.

Of course I modified "Alow override All" mod rewrite enabled.

I hope someone can help me.

thank you very much

  • The problem is with domain name / IP address resolvement. On the computer you have Elgg installed "localhost" means the machine Elgg is running on. If you try to access Elgg from another computer it fails to find the CSS config files, graphics etc. because the files' location can't get resolved. On the other machine "localhost" means the other machine and not your Elgg server. If you try to access the site directly via IP address you might get to index page but Elgg will try to resolve other pages via domain name ("localhost") nonetheless.

    Best would be to install Elgg using a domain name (even a fictional one) and then include this domain name into the server's hosts file. You will need to include the domain name = IP address also in the hosts file of other machines you want to access you Elgg site from.

    On a real server with a real domain name everything will work without these steps as this domain can be resolved via nameserver.

  • But i´ve a domain. When i call it, from internet i do http://ddc.sytes.net/elggDDC, but the problem persist

  • Have you installed Elgg using this domain as site url?