---
description: Step-by-step tutorials for common origin rule configurations.
title: Origin Rules tutorials
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/rules/llms.txt  
> Use this file to discover all available pages before exploring further.

# Origin Rules tutorials

Last updated Aug 27, 2026|Copy as Markdown|[View as Markdown](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/rules/origin-rules/tutorials/index.md)|[Agent setup](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/agent-setup/)

| Name                                                                                                                                                                                               | Last Updated | Difficulty |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ---------- |
| [Point to Pages with a custom domain](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/rules/origin-rules/tutorials/point-to-pages-with-custom-domain/)         | last year    | Beginner   |
| [Point to R2 bucket with a custom domain](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/rules/origin-rules/tutorials/point-to-r2-bucket-with-custom-domain/) | last year    | Beginner   |
| [Change URI path and Host header](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/rules/origin-rules/tutorials/change-uri-path-and-host-header/)               | last year    | Beginner   |

Was this helpful?

YesNo

## On this page

[![](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://fix-ai-gateway-guardrails-streaming-docs.previews.developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/rules/origin-rules/tutorials/#page","headline":"Origin Rules tutorials · Cloudflare Rules docs","description":"Step-by-step tutorials for common origin rule configurations.","url":"https://developers.cloudflare.com/rules/origin-rules/tutorials/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-08-27","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
