Different subdomains to different ports one IP

Hi!

I have a server, accessible by one IP, on which different applications are running on different ports.

I need to configure rules so that HTTPS traffic from different subdomains is redirected to these different applications.

For example:

https://subdomain1.domain.com -> 10.10.10.10:11111
https://subdomain2.domain.com -> 10.10.10:22222

!!! It is important that the user’s address bar shows the address of the subdomain, not the IP.

What functionality can I use to do this?

You can override the destination port of a subdomain using Origin Rules. This will work even on a free account.

1 Like