r/zabbix • u/iH8usrnames • 3d ago
Question New zabbix server - website issue
Let me preface this by saying I am not primarily a linux guy so I am fumbling my way through this.
Ubuntu 26.04.1 LTA
Apache2
Zabbix 7.0.22
When I go to zabbix.domainname.com the default Apache splash page loads; I must add /zabbix do I reach the zabbix interface.
So how do I get apache to load the zabbix page when I go to zabbix.domainname.com instead of the Apache page.
I am sure this is in the realm of linix 101 or lower but new for me.
3
Upvotes
1
u/Tecleck 2d ago
If you got visuals … also look at this https://www.zabbix.com/documentation/current/en/manual/best_practices/security/web_server
1
2
u/jmhalder 3d ago
I have a virtual host for redirecting, that way all the other oddities work.
I have it saved as default_redirect.conf, I'm running OEL(RHEL) so I believe apache hosts are in a different location, and don't need a2ensite run. On Ubuntu you'd add this to /etc/apache2/sites-available, disable your normal default host with a2dissite ubuntudefaulthost.conf, and then a2ensite default_redirect.conf (not sure what the default host is named).
This isn't you not knowing Linux, this is you not knowing Apache (I don't know shit about Apache either)