title: How do I get my apache server serving my files having accidentally deleted the www directory?
body: <p>So now when I reach <code>localhost</code> its just empty, I've tried to simply replace the folder with my own <code>www</code> folder, but with no luck. </p>
  
  <p>I've also tried to remove my lamp server per: </p>
  
  <blockquote>
    <p>Starting over: How to remove the LAMP stack
    To remove the LAMP stack remove the following packages:</p>
    
    <p>Note: This assumes you have no other programs that require any of these packages. You might wish to simulate this removal first, and only remove the packages that don't cause removal of something desired.</p>
    
    <p>apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 php5-common php5-mysql</p>
  </blockquote>
  
  <p>and then reinstalling it with: <code>sudo apt-get install lamp-server^</code></p>
  
  <p>I think there is nothing wrong on my server, its just that I cant reach my localhost site.</p>
  
  <p>This is also the first time I am running ubuntu so I might be missing something crucial.</p>