@julian Just works as intended.
The approach here totally works.
As you kindly suggested, it's my mistake not to have set subdomain by DNS.
I somehow misunderstood Ngynx takes care of subdomainsDNS IP routing, my bad.
Thanks a lot.
why nodebb database has objectid and incremental id together?
Isnt it waste of memory that it has both of them?
Can't objectid (which is default by mongodb) be deleted since it already has unique ids like uid, pid, tid and so on?
Pretty sure objectid is built into mongo and you can't remove it. I'm no expert though.
I tried but objectid could be replaced if _id was replaced with any type like integer which is same type as incremental ids.