Our system Gamma1 runs with Ubuntu 20.04.6, Nagios Core 4.5.2 and Apache 2.4.41-4ubuntu3.17
The URL to access the Nagios portal, that we use now, is http://gamma1.ourcomp.nl/nagios
We want to be able to reach Nagios with the URL http://nagios.gamma1.ourcomp.nl
How can I change the configuration of Nagios and Apache to make that possible?
Other Apache URL for Nagios
Re: Other Apache URL for Nagios
Hello @Hans van Leeuwen,
You can change this by updating your apache configuration files. I believe on Ubuntu that the configuration files should be in /etc/apache2/conf-available.
In the file, there is a directory defined <Directory "/usr/local/nagios/share">, for which an Alias has been defined Alias /nagios "/usr/local/nagios/share".
You can either add an additional line
or modifying the /nagios alias to be /.
You can change this by updating your apache configuration files. I believe on Ubuntu that the configuration files should be in /etc/apache2/conf-available.
In the file, there is a directory defined <Directory "/usr/local/nagios/share">, for which an Alias has been defined Alias /nagios "/usr/local/nagios/share".
You can either add an additional line
Code: Select all
Alias / "/usr/local/nagios/share"Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.