title: Can't configure virtual host in apache ubuntu
body: <p>I've tried to configure virtual host on apache for project on laravel. For this I created file in /etc/apache2/sites-available/app.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
    ServerAdmin webmaster@localhost
    ServerName app
    DocumentRoot /var/www/html/app/public
    &lt;Directory /&gt;
      Options All
      AllowOverride All
    &lt;/Directory&gt;
    &lt;Directory /var/www/html/app/public&gt;
      Options All
      AllowOverride All
      Order allow,deny
      allow from all
    &lt;/Directory&gt;
    ErrorLog /var/log/apache2/error.log
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    CustomLog /var/log/apache2/access.log combined
    ServerSignature On
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Then I've activated the host:</p>
  
  <pre><code>sudo a2ensite app.conf
  </code></pre>
  
  <p>And had following message in the terminal:</p>
  
  <pre><code>Enabling site app.
  To activate the new configuration, you need to run:
    service apache2 reload
  </code></pre>
  
  <p>Then I reloaded it</p>
  
  <p>Also I've modified the '/etc/hosts':</p>
  
  <pre><code>127.0.1.1   Alexandra
  127.0.0.1   app
  </code></pre>
  
  <p>So, now when i go on <strong>app/</strong> in browser, it shows me folders of the project:</p>
  
  <p><strong>Index of /</strong></p>
  
  <pre><code>app/    
  laravel/    
  project/    
  site/   
  </code></pre>
  
  <p>Now if I want to display 'welcome page', I should go to app/app/public</p>
  
  <p>Where is mistake in my configuration process?</p>