I have Zabbix up and running on an Ubuntu 18.04 instance and everything has been working perfectly. The last thing I want to get setup is a custom URL instead of typing in the hostIP/zabbix. I have been reading through forums for both Zabbix and Apache and can't seem to figure it out. Currently the Zabbix files are all in /usr/share/zabbix.
In /etc/apache2/sites-available, I have a zabbix.conf file which is setup as:
<VirtualHost *:80>
ServerName *customurlhere*
ServerAlias *customaliasurlhere*
DocumentRoot /usr/share/zabbix
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Outside of this, I'm not sure what needs to be setup in order for this to work. I'm assuming this is an Apache issue that I'm not understanding.
Any help would be appreciated.
In /etc/apache2/sites-available, I have a zabbix.conf file which is setup as:
<VirtualHost *:80>
ServerName *customurlhere*
ServerAlias *customaliasurlhere*
DocumentRoot /usr/share/zabbix
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Outside of this, I'm not sure what needs to be setup in order for this to work. I'm assuming this is an Apache issue that I'm not understanding.
Any help would be appreciated.
Comment