I have a server where I host all my webs, it is a private server and I have a fixed IP address.
The problem is that I have a single IP, port 80 goes to a server and 8082 to the server that we have to host the webs, the other is to other web topics.
Now I want to be able to redirect a domain www.domain.com to the IP 126.96.36.199:8082
My doubt is that, after researching a lot about how to do it, I can not make the configuration.
In principle in the domain, I should put my public IP with the port and then on the server a htaccess so that it redirects according to the domain from which it is accessed, right?