please use search function likely you find a solution.
As long you have only one external IP you can’t publish 2 different systems on same ports (and using port 443 is best practice for every web app). but you can host multiple systems behind reverse proxy…
The integration of OnlyOffice is the same as Collabora so this article might be useful: