I installed Ubuntu and got the LAMP stack installed as well. The problem is I have to be connected to the internet for the local Apache webserver to work.
I changed the IP address on the dnshost, in the apache2.conf file, got the servername in the httpd.conf, which was empty.
Any ideas?