remove vhost apache2 ubuntu code example Example: ubuntu delete all virtual hosts find /etc/apache2/sites-enabled/ -type l -exec rm -i "{}" \;