Once I tried to make a virtual host, and the problem was that if I make another file in /etc/apache2/sites-available/ that says
...
DocumentRoot /var/www/newsite
ServerName newsite
...
Then save it, restart Apache, and appending /etc/hosts like this:
127.0.0.1 newsite
I get the page that corresponds the DocumentRoot from /etc/apache2/sites-available/default
That time I left it unsolved. Now I want to do it once again and I get the same problem. Despite the fact that I use different version of Linux distro. I feel like I'm doomed.