Secure subdomains via proxy, pass other ports to dns?

Hello,

As topic, i would like to use the following.

Subdomain1.domain.com = proxied via Cloudflare.

Subdomain1.domain.com:7278 =not proxied but redirect to proper dns.

So skip proxy and bypass cloudflare if cusom
Port is used.

I need this setup because the application need the right certificate in the backend to be hosted when useing that port. And fronting the :80 an 443 proxied is just protecting the website by not showing the proper IP.

I have player with the setting and firewall rules.

Thanks.

That is not possible. The port is not DNS related and all requests will resolve to the same address. You will have to use two different host names in this case.

1 Like