Create an origin rule to change the destination port.
Examples
Change the HTTP Host header and DNS record
Create an origin rule to change the HTTP Host
header and the resolved DNS record.
Define a single origin rule using Terraform
Create an origin rule using Terraform to override the Host
header, the resolved hostname, and the destination port of API requests.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark