Compared to our original document, the method of deploying OnlyOffice in subdomain is more complicated and easily lead to config errors. The original document is also consistent with other solutions (integrating with MS Office online server and Collabora Online).
It is better to keep the original version. And leave this advanced method in the forum for reference.