title: Running an existing project under Symfony framework
body: <p>I'm new to the symfony framework and not good at php, and I've come to task of running an existing backup of project.</p>
  
  <p>To get in touch with it, I've run a debian 8 server on virtual machine locally.
  To make sure I know how symfony works I decided to run the symfony demo.
  The problem is I'm not sure if I'm configuring it well with apache2, as I've followed the guide on symfony's site.</p>
  
  <p>I've installed the symfony demo under <code>/var/www/html/symfony_demo</code></p>
  
  <p>This is my sites-avaliable </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName domain.tld
      ServerAlias www.domain.tld
  
      DocumentRoot /var/www/symfony_demo/web
      &lt;Directory /var/www/symfony_demo/web&gt;
          AllowOverride All
          Order Allow,Deny
          Allow from All
      &lt;/Directory&gt;
  
      # uncomment the following lines if you install assets as symlinks
      # or run into problems when compiling LESS/Sass/CoffeeScript assets
      # &lt;Directory /var/www/project&gt;
      #     Options FollowSymlinks
      # &lt;/Directory&gt;
  
      ErrorLog /var/log/apache2/project_error.log
      CustomLog /var/log/apache2/project_access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I've executed <code>php bin/console server:start</code> from the <code>symfony_demo</code> directory.</p>
  
  <p>Web server is up and running on the default <code>127.0.0.1:8000</code>.</p>
  
  <p>When trying to access the apache2 default <code>index.html</code> before the changes to <code>sites-avaliable</code>, under :80 it was all okay. My <code>192.168.0.100</code> was accessible just okay from the browser. But after changing the configuration, and trying to get to <code>192.168.0.100:8000</code> I get unable to connect.</p>
  
  <p>I need help troubleshooting this because I dont know where to seek for problem. Ask anything.</p>