> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joinmarkt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Subdomain routing

> How Join Markt maps hosts to storefronts and which paths stay on the platform.

Join Markt’s edge rewrites store hosts into the App Router storefront tree.

## Default store host

```txt theme={null}
https://{subdomain}.joinmarkt.com/products
  → internal /store/{subdomain}/products
```

## Custom domains

After verification, `shop.yourbrand.com` resolves to the same store as the subdomain. See [Custom domain](/guides/custom-domain).

## Paths that are not rewritten

These stay on the platform / app host:

| Path                    | Reason                 |
| ----------------------- | ---------------------- |
| `/checkout/[invoiceId]` | Shared hosted checkout |
| `/api/*`                | APIs and webhooks      |
| `/_next/*`              | Next assets            |

## Redirects from store code

When linking inside a storefront experience, prefer **subdomain-relative** paths:

```txt theme={null}
/receive-items?orderId=...
```

Avoid hardcoding `/store/{subdomain}/...` in buyer redirects.

## Related

* [Checkout links](/developers/checkout-links)
* [Storefront introduction](/storefront/introduction)
