

It can be done, but only if the service your trying to use makes all of its requests using a specific port. There’s no way to do it with a reverse proxy to my knowledge though. I’ve got both my email and my blog at myname.tld, for example. I just had to configure both of them with DNS.
If what your trying to do is have all requests for one port be directed to another port… your out of luck. I’ve been trying for ages to have nginx forward all 443 traffic on proxy.mynane.tld to 30018 and 80 traffic on proxy.myname.tld to 30024 but no luck so far.


I mean, that’s already a thing? Check out sankakucomplex.com, it’s basically what you described. It’s also slow as shit and the quality of its free tier is questionable, but it works and that’s enough for a lot of people.