Ad Widget

Collapse

Getting default Apache2 Ubuntu page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • techie211
    Junior Member
    • Mar 2021
    • 5

    #1

    Getting default Apache2 Ubuntu page

    Hello ppl,

    Just finished setting up zabbix and when I try http://<server ip>/zabbix I'm getting the 404 Not Found..nginx/1.18.0 (Ubuntu). But when I try just http://<server ip> I'm getting this..(see image). Both not working apparently. /what am I missing? Any help is appreciated.
    Click image for larger version

Name:	default_Apache2_page.gif
Views:	3600
Size:	108.3 KB
ID:	420169



    techie211

  • provels
    Member
    • Apr 2020
    • 93

    #2
    https://<Hostname or IP>/zabbix/index.php

    Comment

    • techie211
      Junior Member
      • Mar 2021
      • 5

      #3
      Thanks for the reply. I tried that but getting 'This site can't be reached'. I'm almost there but missing something.

      Comment

      • mwildam
        Member
        • Feb 2021
        • 72

        #4
        Did you check if site in Apache is enabled?
        For me configuration directories are located at
        /etc/apache2/sites-available/ and /etc/apache2/sites-enabled/
        but maybe different location for you.
        There should be a virtual host configuration file, like:
        Code:
        <VirtualHost *:81>
        #...
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/zabbix
        
        #...
        
        ErrorLog ${APACHE_LOG_DIR}/error_zabbix.log
        CustomLog ${APACHE_LOG_DIR}/access_zabbix.log combined
        
        #...
        </VirtualHost>
        In my case I am using port 81 - but again this might be different at your site according to your desires.

        Comment

        Working...