# CustomDomainPage

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/customdomain/[host]/page.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/customdomain/[host]/page.tsx#L15)

Custom-domain entry point (docs.customer.com)

The middleware rewrites any non-Atloria host → /customdomain/{host}/*
This page resolves the host to a published project via the API (only
status=live domains resolve), then redirects to the existing /p/[slugId]
routes which handle all the rendering — same pattern as /subdomain/[slug].

## Signature

```ts
async function CustomDomainPage({ params }: CustomDomainPageProps)
```

## Parameters

| Name | Type |
|---|---|
| `{ params }` | `CustomDomainPageProps` |
