If you're the owner of this website:
Check your DNS Settings. A 523 error means that Cloudflare could not reach your host web server. The most common cause is that your DNS settings are incorrect. Please contact your hosting provider to confirm your origin IP and then make sure the correct IP is listed for your A record in your Cloudflare DNS Settings page.
netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 16461/zabbix_agentd
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 25739/zabbix_server
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1786/sshd: /usr/sbi
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/init
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 780/systemd-resolve
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 14949/mariadbd
tcp6 0 0 :::10050 :::* LISTEN 16461/zabbix_agentd
tcp6 0 0 :::10051 :::* LISTEN 25739/zabbix_server
tcp6 0 0 :::443 :::* LISTEN 32540/apache2
tcp6 0 0 :::22 :::* LISTEN 1786/sshd: /usr/sbi
tcp6 0 0 :::111 :::* LISTEN 1/init
tcp6 0 0 :::80 :::* LISTEN 32540/apache2
udp 0 0 127.0.0.53:53 0.0.0.0:* 780/systemd-resolve
udp 0 0 10.0.0.25:68 0.0.0.0:* 778/systemd-network
udp 0 0 0.0.0.0:111 0.0.0.0:* 1/init
udp 0 0 127.0.0.1:161 0.0.0.0:* 16327/snmpd
udp6 0 0 :::111 :::* 1/init
udp6 0 0 ::1:161 :::* 16327/snmpd
a2enmod ssl
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
ufw status
Status: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
22 ALLOW Anywhere
80/tcp ALLOW Anywhere
443 ALLOW Anywhere
10050/tcp ALLOW Anywhere
10051/tcp ALLOW Anywhere
Apache Full ALLOW Anywhere
53 ALLOW Anywhere
2053 ALLOW Anywhere
2083 ALLOW Anywhere
2087 ALLOW Anywhere
2096 ALLOW Anywhere
8443 ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
10050/tcp (v6) ALLOW Anywhere (v6)
10051/tcp (v6) ALLOW Anywhere (v6)
Apache Full (v6) ALLOW Anywhere (v6)
53 (v6) ALLOW Anywhere (v6)
2053 (v6) ALLOW Anywhere (v6)
2083 (v6) ALLOW Anywhere (v6)
2087 (v6) ALLOW Anywhere (v6)
2096 (v6) ALLOW Anywhere (v6)
8443 (v6) ALLOW Anywhere (v6)
Listen 80
<IfModule ssl_module>
Listen 0.0.0.0:443
</IfModule>
<IfModule mod_gnutls.c>
Listen 0.0.0.0:443
</IfModule>
myhostname.subnet11212101.vcn11212100.oraclevcn.com:443:0 server certificate does NOT include an ID which matches the server name
cat /etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName zabbix.mydomain.com
ServerAlias www.zabbix.mydomain.com
ServerAdmin admin@mydomain.com
DocumentRoot /usr/share/zabbix
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =zabbix.mydomain.com [OR]
RewriteCond %{SERVER_NAME} =www.zabbix.mydomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
<VirtualHost *:443>
ServerName zabbix.mydomain.com
ServerAlias www.zabbix.mydomain.com
ServerAdmin admin@mydomain.com
DocumentRoot /usr/share/zabbix
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/zabbix/zabbix_cert.crt
SSLCertificateKeyFile /etc/ssl/zabbix/zabbix_private_key.key
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
ss -tupl | grep https
tcp LISTEN 0 511 0.0.0.0:https 0.0.0.0:* users:(("apache2",pid=35321,fd=5),("apache2",pid=35320,fd=5),("apache2",pid=35319,fd=5),("apache2",pid=35318,fd=5),("apache2",pid=35317,fd=5),("apache2",pid=35316,fd=5))
ss -tupl | grep http
tcp LISTEN 0 511 0.0.0.0:https 0.0.0.0:* users:(("apache2",pid=35321,fd=5),("apache2",pid=35320,fd=5),("apache2",pid=35319,fd=5),("apache2",pid=35318,fd=5),("apache2",pid=35317,fd=5),("apache2",pid=35316,fd=5))
tcp LISTEN 0 511 *:http *:* users:(("apache2",pid=35321,fd=4),("apache2",pid=35320,fd=4),("apache2",pid=35319,fd=4),("apache2",pid=35318,fd=4),("apache2",pid=35317,fd=4),("apache2",pid=35316,fd=4))
iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination