Webserver A: Hosts mydomain.net and runs on port 80, uses XAMPP
Webserver B: Raspberry Pi running Raspbian, hosts myotherdomain.net and runs on port 8080, uses nginx
My ISP is Mediacom (not really relevant but just so you know I have a residential ISP)
I have one external IP address.
I use freedns.afraid.org as my Dynamic DNS and I use GoDaddy for the domain names.
If I go to myotherdomain.net:8080 it works all find and dandy.
If I go to mydomain.net it works all fine and dandy.
If I go to myotherdomain.net it will send me to mydomain.net as that server is running on port 80.
What I want to do is make it so that I do not have to type the 8080 at the end of myotherdomain.net. I have tried doing a couple of the redirect methods I have found for nginx, however, it's not working.
My current train of thought: I think I need to do a redirect on Webserver A, since it's setup on port 80, so that when it sees myotherdomain.net it will automatically forward to myotherdomain.net:8080. And that's where my problem is - I have no idea how to do that, what it's called to do a better search for it, or really where to begin.
My first post here so be nice :-)