awesome many thanks, that solved it 😄
+1 for rep
You have to setup NGINX as a reverse proxy. It will then be NGINX that answers queries from the internet and then passes them to NodeBB.
Have a read here.
@duke "nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)" This error occurs everytime. There is a property in my Google Cloud DNS which binds the domain and external IP together. Could it be the problem?
When I run sudo netstat -tulpn | grep --color :80, the result below occurs.
tcp6 0 0 :::80 :::* LISTEN 17631/nginx -g daem
Sounds like apache or some other web server might already be running on that port.
ps aux | grep apache