Ad Widget

Collapse

Changing GUI port 80 for Zabbix6 on Debian11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ioanstan
    Junior Member
    • Aug 2020
    • 3

    #1

    Changing GUI port 80 for Zabbix6 on Debian11

    Hi all, I'm running Zabbix 6 on Debian 11 and I'd like to change GUI port 80 to port 8080. How can I do this?

    Many thanks, ioan
  • vladimir_lv
    Senior Member
    • May 2022
    • 240

    #2
    In /etc/apache2/ports.conf, change the port as

    Listen 8080

    Then go to /etc/apache2/sites-enabled/zabbix.conf

    Add the first line as:

    <VirtualHost *: 8080>

    and the last line as:

    </VirtualHost>

    Now restart:

    sudo service apache2 restart

    Comment

    • ioanstan
      Junior Member
      • Aug 2020
      • 3

      #3
      Hi Vladimir, many thanks There was only 000-default.conf in sites-enabled, I changed VirtualHost line there, together with change in ports.conf. And everything works as expected.

      Comment

      Working...