Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Ubuntu 10.10 on my laptop.

I was develping websites without any problem so far.

Then suddenly I am not able to access any website in localhost.

Even http://localhost/phpinfo.php does not show.

I reinstalled apache but it is the same result.

I am able to access localhost/phpmyadmin.

Could anyone tell me how to fix this problem?

Thanks in advance.

share|improve this question

migrated from serverfault.com Dec 30 '10 at 22:05

This question came from our site for system and network administrators.

What happens when you substitute for localhost ? –  Iain Dec 30 '10 at 21:47

1 Answer 1

I added the following to /etc/apache2/conf.d/fqdn

 ServerName localhost

And it works now.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.