# CustomDomainPathPage

**Kind:** Function

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

Custom-domain path handler (docs.customer.com/audience/document)

Middleware rewrites docs.customer.com/developers/getting-started
→ /customdomain/docs.customer.com/developers/getting-started

Resolves host → slugId, then redirects to /p/[slugId]/[...path]

## Signature

```ts
async function CustomDomainPathPage({ params }: CustomDomainPathPageProps)
```

## Parameters

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