Cloudflare Pages delivers blazing fast static site and fullstack edge hosting backed by Cloudflare's planetary edge network. By attaching your free Devs.Surf subdomain, you get global caching, automated SSL, and DDoS mitigation for free.
Step 1: Set Up Custom Domain in Cloudflare Pages
- Open your Cloudflare dashboard and navigate to Workers & Pages.
- Click on your Pages project.
- Go to the Custom domains tab and click Set up a custom domain.
- Enter your subdomain:
mysite.devs.surfand click Continue.
Step 2: Configure DNS in Devs.Surf
Cloudflare Pages will display your project's unique Pages subdomain, usually ending in .pages.dev (e.g. mysite-3x8.pages.dev).
In your Devs.Surf DNS manager, add:
| Type | Name | Content / Target | TTL |
|---|---|---|---|
| CNAME | @ |
mysite-3x8.pages.dev |
3600 |
Step 3: Verification & Certificate Provisioning
Click Activate domain in Cloudflare Pages. Cloudflare will resolve the CNAME record and issue universal SSL. Once completed, your application is globally distributed across 300+ edge data centers.