I looked at similar problems here on the community site but none seemed to match my situation.
My domain is:
www.ideatreelive.com
I ran this command:
-
https://www.ideatreelive.com from browsers
-
I can ssh into the server and ping works from there to both the site ip and outside ip’s, but can’t ping in from a remote client.
-
I can telnet in from a remote client on port 22 but not on port 443 or 80.
-
‘apachectl configtest’ says syntax OK
-
apache2 is up and running
-
No errors shown in /var/log/apache2/error.log with error levels set to ‘debug’, but I did see the following in error.log:
’ Configuring server www.ideatreelive.com:443 for SSL protocol
Certificate and private key www.ideatreelive.com:443:0 configured from /etc/letsencrypt/live/www.ideatreelive.com/fullchain.pe…
mod_ssl/2.4.29 compiled against Server: Apache/2.4.29, Library: OpenSSL/1.1.1’ -
ufw firewall has ports 80, 22, and 443 all open (ufw “Apache Full” and ufw ssh)
‘netstat -antp +’ produced this output:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 704/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1743/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 966/postgres
tcp 0 464 138.197.202.166:22 67.0.212.212:55746 ESTABLISHED 5400/sshd: root@pts
tcp6 0 0 :::22 :::* LISTEN 1743/sshd
tcp6 0 0 :::443 :::* LISTEN 939/apache2
tcp6 0 0 :::80 :::* LISTEN 939/apache2
My web server is (include version):
Apache 2.4.29
The operating system my web server runs on is (include version):
Ubuntu 18.04
My hosting provider, if applicable, is:
DigitalOcean
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
0.31.0