Trying to install apache2

Why? If you installed Discourse, it’s using port 80 and 443.

See How to set up Discourse on a server with existing Apache sites

1 Like