cp -v /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/test.com.conf
a2ensite test.com.conf
ubuntu apache create new virtual host
Leave a reply
cp -v /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/test.com.conf
a2ensite test.com.conf