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