i defined
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/home/andrei06041990/sites/cosmeticremix"
ServerName cosmeticremix.dev
ServerAlias www.cosmeticremix.dev
<Directory "/home/andrei06041990/sites/cosmeticremix">
Options Indexes FollowSymLinks
#AllowOverride All
AllowOverride None
Require all Granted
</Directory>
</VirtualHost>
at the end of the /etc/httpd/conf/httpd.conf file
but when i access http://www.cosmeticremix.dev/
in browser i end up with the default page of the apache server
how are virtual hosts defined?