Forwarding Domain to IP with Port or Directory

By standard means of the system DNS this direction impossible.

Domain can be directed to IP only, no port or directory. The port and access directory must be configured directly on the web server running on the specified IP. Alternatively, you can use an intermediate proxy server that will redirect all requests addressed to the domain to the correct IP and port.