Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 attempted to install my hosted Wordpress site on my 12.04 desktop following the Ubuntu Lamp guide, then after being unable to get it running properly attempted to uninstall it using suggestions in the Ubuntu forum and Synaptic.

When I attempt to access the hosted site with Firefox or Chrome, I get can't establish a connection to the server at

I get a similar response trying to access localhost.

I can connect to the hosted site on my wife's computer.

I only know a few basic terminal commands, but following one suggestion to see whether all traces of the installation were removed, I got this:

gaines@gaines:/$ dpkg --get-selections | grep apache
libapache2-mod-php5             deinstall

gaines@gaines:/$ dpkg --get-selections | grep mysql
libmysqlclient18                deinstall
mysql-server-5.5                deinstall
php5-mysql                      deinstall

Any suggestions as to what I need to do?

share|improve this question

After retracing my steps to install Lamp and my Wordpress site locally, I realized that one of the sites I used had me edit etc/hosts to have localhost and the hosted url point to the local copy of my WP site.

As I had deleted that local site, hosts could only tell me that it couldn't connect. Removing the pointers from hosts allowed me to access the hosted site.

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.