Score:0

upgraded to Ubuntu 20, reconfiguring apache2, utterly clueless

ca flag

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?

Srividya avatar
cn flag
Did you have time to check my answer? It helped you to solve your problem? If yes, Please consider to accept and upvote it. [What should I do when someone answers my question?](https://stackoverflow.com/help/someone-answers)
ca flag
i ended up having to rebuild my server
Score:1
cn flag

I have successfully installed the ‘Apache Full’ Application on Ubuntu 20.4 virtual machine by following the documentation and I have run the following command for allowing the traffic.

sudo ufw allow 'Apache Full'

when I verify with the command sudo ufw status the output is showing Active status as shown in the image.image.

Since I have installed only Apache Full, the output shows me that the profile has been activated to allow access to the Apache Full web server and web server is started and running successfully by following the commands provided in that documentation.

Since you have both Apache and Apache Full having Allow status and if you want to deny any one of them. You can use the command

sudo ufw deny ‘Apache’

Check whether you have configured SSL to allow SSL encrypted traffic or any tcp port configuration for 8080,80/tcp,443/tcp.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.