Just disable them if you’re not using them
a2dissite default
a2dissite default-ssl
apachectl graceful
This simply removes the link to sites-enabled, so they’re not included in the config anymore
Just disable them if you’re not using them
a2dissite default
a2dissite default-ssl
apachectl graceful
This simply removes the link to sites-enabled, so they’re not included in the config anymore