---
title: "Custom Domain"
description: "Connect your own domain to your documentation site."
canonical_url: "https://farming-labs-docs-docs-cloud-ogzjlaboh-farming-labs.vercel.app/docs/customize/custom-domain"
markdown_url: "https://farming-labs-docs-docs-cloud-ogzjlaboh-farming-labs.vercel.app/docs/customize/custom-domain.md"
last_updated: "2018-10-20"
---

# Custom Domain
URL: /docs/customize/custom-domain
LLM index: /llms.txt
Description: Connect your own domain to your documentation site.

Set up a custom domain so your docs are served from your own URL (e.g., `docs.yoursite.com`).

## DNS Configuration

Add a CNAME record pointing to your deployment:

```
Type: CNAME
Name: docs
Value: your-project.vercel.app
```

## Verifying Ownership

After adding the DNS record, verify ownership in your dashboard:

1. Navigate to **Settings → Domains**
2. Click **Add Domain**
3. Enter your custom domain
4. Wait for DNS propagation (usually under 5 minutes)

## SSL Certificates

SSL certificates are provisioned automatically. No manual configuration is needed.

## Subpath Routing

You can also serve docs from a subpath like `yoursite.com/docs`:

```ts
export default defineDocs({
  entry: "docs",
  basePath: "/docs",
});
```

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
