Setup Virtual host in home directory - Ubuntu 15.10
<p>This is an extension to the following question  :</p>

<p><a href="https://askubuntu.com/questions/617190/how-to-setup-apache2-virtualhosts-on-your-home-directory-on-ubuntu-14-04">https://askubuntu.com/questions/617190/how-to-setup-apache2-virtualhosts-on-your-home-directory-on-ubuntu-14-04</a></p>

<hr>

<p>I'm trying to setup a virtual host to run apps from my home directory</p>

<blockquote>
  <p>/home/byteseeker/projects/blogapp</p>
</blockquote>

<p>I followed all the steps listed by the user @Vinicius Santana and also included the correction answered by @Doug Smythies in the above mentioned question.</p>

<p>The Virtual Host file in </p>

<blockquote>
  <p>/etc/apache2/sites-available/blogapp.conf</p>
</blockquote>

<p>looks like this</p>

<blockquote>
  <p>&lt; VirtualHost *:80 ></p>
  
  <blockquote>
    <p>ServerAdmin webmaster@blogapp.dev<br>
    ServerName blogapp.dev<br>
    ServerAlias www.blogapp.dev<br>
    DocumentRoot /home/byteseeker/projects/blogapp/<br>
    ErrorLog ${APACHE_LOG_DIR}/error.log<br>
    CustomLog ${APACHE_LOG_DIR}/access.log combined</p>
  </blockquote>
  
  <p>&lt; /VirtualHost ></p>
</blockquote>

<p>And the &lt; Directory > tag in </p>

<blockquote>
  <p>/etc/apache2/apache2.conf</p>
</blockquote>

<p>(as pointed out in referred question's solution ) looks like this</p>

<blockquote>
  <p>&lt; Directory / ><br></p>
  
  <blockquote>
    <p>Options FollowSymLinks<br>
    AllowOverride None<br>
    Require all denied<br>
    &lt; /Directory ><br></p>
  </blockquote>
  
  <p>&lt; Directory /usr/share ><br></p>
  
  <blockquote>
    <p>AllowOverride None<br>
    Require all granted</p>
  </blockquote>
  
  <p>&lt; /Directory ><br></p>
  
  <p>&lt; Directory /var/www/ ><br></p>
  
  <blockquote>
    <p>Options Indexes FollowSymLinks<br>
    AllowOverride None<br>
    Require all granted<br>
    &lt; /Directory > </p>
  </blockquote>
  
  <p>&lt; Directory /home/byteseeker/projects/blogapp/ ><br></p>
  
  <blockquote>
    <p>Options Indexes FollowSymLinks<br>
    AllowOverride None<br>
    Require all granted<br>
    &lt; /Directory ></p>
  </blockquote>
</blockquote>

<p>The Hosts file in </p>

<blockquote>
  <p>/etc/hosts</p>
</blockquote>

<p>has the contents as </p>

<blockquote>
  <p>127.0.0.1 localhost<br>
  127.0.0.1 anonymous<br>
  127.0.0.1 blogapp.dev</p>
</blockquote>

<p>I have also put a "index.html" file in </p>

<blockquote>
  <p>/home/byteseeker/projects/blogapp</p>
</blockquote>

<p>with a simple welcome message</p>

<p>Now when I try to go to blogapp.dev , I always end up getting the same "It Works" page that I get when accessing "localhost"</p>

<p>What's possibly wrong with my setup ?</p>

<p>N.B: 
I'm using <br></p>

<blockquote>
  <blockquote>
    <ol>
    <li>Apache 2.4.12<br></li>
    <li>PHP 5.6.11<br></li>
    <li>Ubuntu Mate 15.10</li>
    </ol>
  </blockquote>
</blockquote>