Learn more about how to use Cloudflare Page Rules to override the URL or IP address of a request.
Overview
Cloudflare Page Rules allows you to override the URL or IP address of a request.
A common use case for this functionality is when you are serving an application from the URI (e.g. mydomain.com/app). In this case the 'app' may live on another server and may even be hosted by a third party. Requests to this endpoint must be directed to the server for that third party application. You can specify a CNAME host.
To make sure you have full control of these records, it is recommended that you set the Resolve Override within the same zone name.
Configure Resolve Override in Page Rules
To configure resolve override in page rules,
1. Create a DNS record (either CNAME or A record) for your domain.
- This example shows a CNAME setup using domain.s3.amazonaws.com.

- This example points to a web server IP address.

2. Create a page rule to override a URL or an IP address.
- For example, the following page rule would send all requests from a folder (/app) to an AWS S3 bucket:
