Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
Could you elaborate what "does not work" means exactly? Does it not start, does it simply not respond (what IPs/hostnames did you try)? Do any of the relevant error logs show anything noteworthy? – Alan Plum May 18 '10 at 15:08
    
Its chrome that has an issue with ubuntu. It says server not found when unplugged from network. – Jean May 19 '10 at 4:49
    
check your AllowOverride property in .htaccess ( change to All ) – ukanth May 19 '10 at 12:24

Does the server actually not run or does your browser just complain when you visit http://localhost in offline mode? Especially Firefox has an annoying tendancy to think that localhost is a remote server and needs to be kicked out of offline mode in order to be willing to attempt a connection.

share|improve this answer
    
I use chrome, none of the browsers are offline though. – Jean May 18 '10 at 9:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .