Ports 443/80 show as closed after installation

I have my local DNS server which is resolving my network name to that host, so it works just like from the external world.

I just sucessfully installed Discourse on a DigitialOcean VM. I am going to use it a reference to my local configuration. One think I immedatiely noticed is the hosts file on tha VM - it has the following entry:

Hopefully this is it. I will let you know.