DNS obviously. It’s easy, don’t let memes put you off.
For port mapping depends what specifically you’re aiming for. SVCB/HTTPS records are nice for having many https servers on a single system.