Create a configuration rule in the dashboard

Last updated Apr 16, 2026 1. In the Cloudflare dashboard, go to the Rules Overview page. Go to Overview ↗ 2. Select Create rule > Configuration Rule. 3. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration. 4. Enter a descriptive name for the rule in Rule name. 5. Under When incoming requests match, select if you wish to apply the rule to all incoming requests or only to requests that match a custom filter expression. 6. (Optional) To define a custom expression, use the Expression Builder (specifying one or more values for Field, Operator, and Value) or manually enter an expression using the Expression Editor. For more information, refer to Edit expressions in the dashboard. 7. Under Then the settings are, add the configuration settings you wish to change for requests matching the rule expression. 8. To save and deploy your rule, select Deploy. If you are not ready to deploy your rule, select Save as Draft.

If you are matching a hostname in your rule expression, you may be prompted to create a proxied DNS record for that hostname. Refer to Troubleshooting for more information.

Was this helpful?

YesNo

On this page

Create a configuration rule in the dashb - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/rules/configuration-rules/create-dashboard/#page","headline":"Create a configuration rule in the dashboard","description":"Create configuration rules in the Cloudflare dashboard.","url":"https://developers.cloudflare.com/rules/configuration-rules/create-dashboard/","inLanguage":"en","image":"https://developers.cloudflare.com/rules/configuration-rules/create-dashboard/og.png?v=4f83f5e20f1ceefe","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Example Configuration Rules for adjusting zone settings per request. title: Configuration Rules examples image: https://developers.cloudflare.com/rules/configuration-rules/examples/og.png?v=6c678be1a4933b58


Skip to 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.