# SubdomainPage

**Kind:** Function

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

Subdomain entry point for *.atloria.app

The middleware rewrites myapp.atloria.app/* → /subdomain/myapp/*
This page resolves the slug to a slugId via the API, then redirects
to the existing /p/[slugId] routes which handle all the rendering.

## Signature

```ts
async function SubdomainPage({ params }: SubdomainPageProps)
```

## Parameters

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