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:
I get the page that corresponds the DocumentRoot from
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.
Any help would be very appreciated