I had my LAMP server crushed for some reason. That's why I've completely removed it and installed once again. Installation was successful and "localhost" is working fine. However every time I'm trying to add a virtual host (using a2ensite command) my apache2 server stop working. When I run a2dissite command of a corresponding virtual host, the server start working again. Please, help me to solve this issue.
as of for subdomains 000-default use
ServerAdmin webmaster@localhost ServerName yourdomain.com ServerAlias subdomain.domain.com DocumentRoot /home/username/public_html/example Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all