Site > ip:port

Olá a todos, sou novo aqui na cloudflare e ainda não entendo muito como funciona as coisas, como faço para encaminhar um subdomínio para um ip:port, isso seria possível?
exemplo: registro.sitecloudflare.com > IP:PORT

se não for possível, eu tenho uma conta no-ip, que aponta diretamente para a porta que preciso acessar, seria possível eu fazer usar ela aqui:
exemplo: site.no-ip.com (http) > registro.sitecloudflare.com (https) ?

Hi everyone, I’m new here at cloudflare and I still don’t really understand how things work, how do I forward a subdomain to an ip:port, would that be possible?
example: registro.sitecloudflare.com > IP:PORT

If it’s not possible, I have a no-IP account, which points directly to the port I need to access, it would be possible for me to use it here:
Example: site.no-ip.com (http) > registro.sitecloudflare.com (https) ?

Hi @barusu0586

Hello and welcome to Cloudflare!

To forward a subdomain to an IP and port, you can create an A record for your subdomain pointing to the IP and then use a service like Cloudflare Spectrum for applications that use non-HTTP/S protocols or a reverse proxy on your server to handle the specific port forwarding.

For your second question, if you want to use a no-ip domain to point to a Cloudflare domain, you would need to set up a CNAME record on Cloudflare that points to your no-ip domain. However, keep in mind that Cloudflare only proxies HTTP/S traffic, so if your application uses a different protocol, it won’t be proxied by Cloudflare.

Here are the steps for the first scenario:

  1. Log in to your Cloudflare dashboard.
  2. Select the domain you want to manage.
  3. Go to the DNS settings page.
  4. Add an A record with your subdomain pointing to the IP address.
  5. For port forwarding, set up a reverse proxy on your server or use Cloudflare Spectrum if applicable.

Remember, Cloudflare only proxies certain ports for HTTP/S traffic, which you can find in their documentation.

You can point any request to a specific destination using a different port (ranging from 1 to 65,535) via Origin Rules:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.