I upgraded to Ubuntu 20 on my Google Compute vm.
Now apache2 isn't serving stuff up when i hit my server (by external ip) via lynx.
apache2 DOES serve up the default page when i do
lynx localhost
on my server.
these instructions https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04
say to use
ufw app list
and choose the one that is the most restrictive Apache profile.
Since I want access via http AND https, i picked Apache Full which the link says "opens both port 80 (normal, unencrypted web traffic) and port 443 (TLS/SSL encrypted traffic)"
ok. cool. so far so good.
here's my first question.
ufw status numbered
shows me
Status: active
To Action From
-- ------ ----
[ 1] 8080 ALLOW IN Anywhere
[ 2] Apache Full ALLOW IN Anywhere
[ 3] 80/tcp ALLOW IN Anywhere
[ 4] 443/tcp ALLOW IN Anywhere
[ 5] 8080 (v6) ALLOW IN Anywhere (v6)
[ 6] Apache Full (v6) ALLOW IN Anywhere (v6)
[ 7] 80/tcp (v6) ALLOW IN Anywhere (v6)
[ 8] 443/tcp (v6) ALLOW IN Anywhere (v6)
[ 9] Apache (v6) ALLOW IN Anywhere (v6)
Is it a problem to have Apache and Apache Full both active?
What about port 8080?
If I have Apache Full active, should i also have separate entries for 80/tcp and 443/tcp?
Should I remove any of that?