Can I have the domain name stay instead of it re-routing to my web server

So, I am running a little web server off of an old PC, I have port forwarded (Port 3512 as most common ones seem to be blocked by my ISP) I just want to know how I can get the domain to be what is shown and not so it redirects to the ip:port of my web server. I am not even sure if that makes sense but that I what I am trying to do… :stuck_out_tongue: My domain is hosted with Namecheap and I have the nameservers directed to the ones cloudfare gave me.


I got this tip from @Matteo for using Workers to port forward visitor requests. Enable Workers, and put this bit in the script after the opening function instead of the sample workers script:

async function changePort(request) {
  var newURL = new URL(request.url)
  newURL.port = '3512'

  return fetch(newURL, request)


Thanks for the response however I am using the free plan which does not allow me to add workers. :frowning:

All plans let you use workers. It’s an account add-on for $5/month.

Oh well I was hoping there was a completely free way to do it.