Please note that we don’t want to forward request to another url responding to the user with some code like 301, we need to “resolve” the user request to a specific ip.
Generally this is not possible. However you could achieve this with a custom Worker script, where you map only that particular path to your Worker and then handle all requests manually and forward them to the host in question. The search will have more on Worker scripts and how to set them up.
Keep in mind, Workers are paid if you exceed the free limit.
Please note that we don’t want to forward request to another url responding to the user with some code like 301, we need to “resolve” the user request to a specific ip.
This is not possible due to how DNS works - a browser trying to go to example.com/one will first resolve example.com then send the URL request to the IP it got back. It doesn’t tell the DNS server what URL it’s requesting.