Pages

Last updated Jul 1, 2026 The following sections describe how to configure Cloudflare Pages with Regional Services and Customer Metadata Boundary to control where your Pages project is processed and where logs are stored.

Regional Services

To configure Regional Services for hostnames proxied (meaning traffic routes through Cloudflare) through Cloudflare and ensure that processing of a Pages project occurs only in-region, follow these steps for the dashboard or API configuration:

  1. In the Cloudflare dashboard, go to the Workers & Pages page. Go to Workers & Pages ↗
  2. Select your Pages project.
  3. Follow these steps to create a Custom Domain.
  4. Go to the DNS of the zone you configured the Custom Domain for.
  5. From the Region dropdown, select the region you would like to use on your domain.
  6. Select Save.

  7. Use the API POST command to add a Custom Domain to a Pages project.

  8. Run the API POST command on the Pages Custom Domain to create a regional_hostnames with a specific Region.

Note

Regional Services only applies to the Custom Domain configured for a Pages project.

Customer Metadata Boundary

Customer Metadata Boundary applies to the Custom Domain configured, as well as the *.pages.dev subdomain. You also have the option to disable access to the .dev domain.

For information on available Analytics and Metrics, review the Cloudflare product compatibility page.

It is recommended not to store any Personally Identifiable Information (PII) in the Pages project's static assets.

Note

Page Functions are implemented as Cloudflare Workers. Refer to the Workers section for more information.

Refer to the Pages documentation for more information.

Was this helpful?

YesNo

On this page

Pages - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/data-localization/how-to/pages/#page","headline":"Pages","description":"Configure Pages with Regional Services and Customer Metadata Boundary.","url":"https://developers.cloudflare.com/data-localization/how-to/pages/","inLanguage":"en","image":"https://developers.cloudflare.com/data-localization/how-to/pages/og.png?v=628908dd438424db","dateModified":"2026-07-01","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: Configure R2 Object Storage with Regional Services and Customer Metadata Boundary. title: R2 Object Storage image: https://developers.cloudflare.com/data-localization/how-to/r2/og.png?v=efb232d7acad1492


Skip to content

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