---
title: Custom domains
seo:
  title: "Custom domains on Cloudflare Workers"
description: Serve production on your own domain. Use Cloudflare DNS, or keep your current DNS provider and add records there.
---

Your custom domains point to the production Worker of the project. Previews keep their own `workers.dev` URLs. Custom domains are on all plans.

:::note
Deploy the project to production before you add a domain. The domain serves the production Worker.
:::

<Illustration name="domains" />

## Add a domain

Open the project from <AppLink to="/dashboard">your projects</AppLink> and click **Domains**. Click **Add Domain**, then type the domain, for example `example.com` or `app.example.com`. Then select how to connect it.

<Illustration name="add-domain" app="/dashboard" appLabel="your projects" />

### Use Cloudflare DNS

Use this option when the domain is on Cloudflare DNS, or when you want to move its DNS to Cloudflare. Cloudflare then runs all the DNS of this domain.

- If the domain is already active in your Cloudflare account, Conic connects it immediately.
- If it is not, Conic adds it to your Cloudflare account. Change the nameservers of the domain at your registrar to the nameservers that Conic shows. Conic checks the domain every 5 minutes. When the domain is active, Conic connects it.

### Keep your current DNS provider

Use this option when your DNS must stay at its current provider.

1. **Select a Cloudflare domain**

    Conic serves the domain through one of your active Cloudflare domains.
    Select this domain the first time. Your account must have at least one
    active domain on Cloudflare DNS.

2. **Copy the records**

    Conic shows the DNS records to add. Add them at your DNS provider.

3. **Wait for the certificate**

    The domain stays pending until Cloudflare verifies it and issues its
    certificate.

This option needs the **SSL and Certificates** permission on Cloudflare. If Conic asks for it, an admin must [reconnect Cloudflare](/connect/cloudflare#reconnect-cloudflare).

## With or without www

When you add a domain, select whether to add `www` too. Then select which address redirects to the other: `www` to the bare domain, or the bare domain to `www`.

## Domains in your Wrangler config

If the Wrangler config of the production branch declares routes or custom domains, the **Domains** page shows them, read-only. Wrangler manages them at each deployment.

## Remove a domain

Open the menu of the domain and remove it. Conic disconnects it from the Worker. The Cloudflare zone and its other DNS records stay.
