Changing port, but not url

Quick question:

Testing Onlyoffice, but i can’t complete the docker as Nextcloud uses 443.

Stupid question, - I know how to change ports, BUT how do i keep my nextcloud.domain.com instead of nextcloud.domain.com:NEWPORT

You must specify the port unless you use the standard port 443.