How do I create a sub domain redirect to a Ipv4 address with a port at the end

Ok so google is my domain registrar which points to Cloudflare’s DNS. Then my main domain points to my web host namecheap. So how would I make example.website.com redirect to an address with a port number, I can get it work without the port number (000.00.00.00:0000).

Ports do not work in a DNS context. You will have to specify the port in your URL.

1 Like

Is there anyway around adding it on to the end of the domain?

Either a frame (where you embed the URL with the port), but that requires an additional setup and is typically rather discouraged. Otherwise only with workers, but that would be additionally paid for each request (past the newly introduced free limit).

Ok ill look into it later thanks.

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