How to reach specific origin behind LoadBalancer

I have 3 origin VPS behind Loadbalancer.

Sometimes I need to reach to a specific origin to test new code deployments other times We want to keep the developer to reach to a specific region while under development and all the live traffic should go to other 2 origins.

Direct IP access is not possible as this is a SaaS product and need to rely on the HOST header sent from the browser.

Is there any parameter we can use in the URL to reach to a specific origin?

Our developer are around the world, Loadblancer is setup a dynamic Steering.

Any help in this matter please?


As some one suggested that we can probably use Chrome extension “ModHeader” With the IP address.

But the thing without setup is that Firewall is configured on the Origin servers to only allow Cloudflare IP address.

We cannot whitelist all the developers IP address as mostly don’t have static IP address at all.

Any body to help on this topic please?

:wave: @user2173,

One or more of the following would work.

  1. Configure :orange: records for each of the hosts individually with a server specific name and the origins to accept that specific name as a host header.

  2. Create a worker which allows an x-header specific origin override.

  3. Allow access from the specific IP addresses of the devs in addition to Cloudflare.

— OG

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