July 6, 2021 . 1 MIN READ
disable the default site of Apache in some moment. I type something like
# a2dissite default
After I try to restart Apache 2, I receive this message:
“[warn] NameVirtualHost *:80 has no VirtualHosts”
Then I enable the ‘default’ site of Apache 2 again and everything works again, the command used is:
# a2ensite default
That’s all folks!