I am trying to configure icinga using Apache2 web server on Unbutu OS, so the icinga dashboard is available on the root domain (http://example.com
) and not on path (http://example.com/icingaweb2
).
I had changed the DocumentRoot
in /etc/apache2/sites-available/000-default.conf
to point to /usr/share/icingaweb2/public
from /var/www/html
. But this gives me empty response when navigating to http://example.com
and http://example.com/icingaweb2
still working.
Can someone help with correct Apache2 configuration so the root domain (without path) shows icinga dashboard?