I cloned a rackspace server which had some extra /var/www/
directories in it that I didn't want. I just wanted to delete websites that I don't need on this server. I thought that was as simple as removing the directories and all files inside each directory.
So I removed them all via command-line. I had to reboot the server. During the reboot, apache failed to start because:
DocumentRoot [/var/www/PATH/TO/DIRECTORY/] does not exist
In addition, I've got a [warn] NameVirtualHost *:80 has no VirtualHosts
notice.
My server is running Ubuntu 11.10.
I just wanted to delete directories I wasn't using anymore. How do I clear this up?