Currently, some web applications have their own URLs, and would like to leverage Cloudflare’s URL rewrite function for better user experience. One example will be: https://app1.webapp1.asia. Users will just navigate to https://webapp1.example.com and the URL in the browser’s address bar will remain as https://webapp1.example.com
Re-writing the host header is only permitted on an Enterprise plan.
You could use a Worker…
Those would require the domains to be on Cloudflare, so if you are doing this for external customers it is likely Cloudlfare for SaaS is better for your use case…
You can change the host header with Transform or Origin Rules if the input hostname is in an Enterprise zone, so modifying the host header of requests to your own domains.
If this is for your customers to use your web app, Cloudflare for SaaS is the way. It’s probably a better option even for your own use.
Or (for a paid plan) you can use a Snippet instead of a Worker if you want to avoid paying for Workers requests if it fits within the limits.