On advice from @phenomlab I uninstalled the plugin, rebuilt, installed plugin again, rebuilt and it was ok.
This had also happened to himself before.
I was trying to switch to Apache instead of Nginx and I did all the instructions on https://docs.nodebb.org/configuring/proxies/apache/
But when I visit forums.mydomain.com, the default Apache welcome page appears.
I’d appreciate any help!