Domain is not resolvable. How can I fix this?

Thanks for your advice, however, how do I open the port? I have been trying to open the port with the UFW (Uncomplicated Firewall) that is pre-loaded onto Discourse when I used the one-click install. It seems I just cant get port 80 nor 443 to open. Do you have any tip for that?